[33346] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Multiple hostnames with same IP address (DNS A record)

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Apr 27 14:24:16 2011

From: Greg Hudson <ghudson@mit.edu>
To: "petesea@bigfoot.com" <petesea@bigfoot.com>
In-Reply-To: <alpine.OSX.2.00.1104261123440.818@nikto-air>
Date: Wed, 27 Apr 2011 14:24:07 -0400
Message-ID: <1303928647.2493.76.camel@t410>
Mime-Version: 1.0
Cc: "kerberos@mit.edu" <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Tue, 2011-04-26 at 15:41 -0400, petesea@bigfoot.com wrote:
> The odd thing about this is it only fails when ssh'ing FROM a linux 
> (redhat/centos) host.  If the connection comes from an OS X host (10.3, 
> 10.4, 10.5, 10.6) it works 100% of the time.  And, I only have one Solaris 
> host (2.8), but it seems to work fine from it as well.  The OS X and 
> Solaris hosts are all using various versions of OpenSSH w/GSSAPI Key 
> Exchange.

I'm not entirely sure what's going wrong, but I can explain this part, I
think.  Solaris Kerberos defaults to not doing reverse canonicalization
of hosts, and OSX may do so as well.

> There are "host" principals for both hostnames in /etc/krb5.keytab and 
> GSSAPIStrictAcceptorCheck is set to "no" in sshd_config.

I would expect the authentication exchange to work regardless of which
service principal the client chooses, in this configuration.  If you can
get the sshd -d output on the server, there might be some enlightening
information there.  It's conceivable that the client is performing the
canonicalization step twice and getting different answers, but I don't
know what the details of that scenario would be.


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post