On Fri, Jan 11, 2002 at 06:05:39PM +0100, Shaun McCullagh wrote:
> Hi,
> 
> We've implemented Kerberos V with great success on almost all our hosts.
> 
> However on two machines we cannot have the usual entry in /etc/hosts
> 
>       IP#     FQ-hostname     hostname 
> 
> because licensed applications require the hostname
> to be associated with different IP #:
> 
> 192.168.1.1 myhost.foo.com myhost-hme0 # Internal interface
> 139.223.1.1 myhost myhost-hme1 # External interface
> 
> where 'myhost' is hostname
> 
> Is there a way around this so Kerberos will work?

I have made local hack_gethostbyname()/hack_gethostbyaddr() functions
that wrap the real ones to work around this problem. They look for an
FQDN alias and, if they find none, they append the domainname (taken
from the resolver (from /etc/resolv.conf) to the primary hostname. More
or less.

> What if we created an 'A' RR myhost-hme0.foo.com 192.168.1.1
> along with a PTR reverse record?
> 
> then changed /etc/hosts thus: 
> 
> 192.168.1.1 myhost-hme0.foo.com myhost-hme0 # Internal interface
> 139.223.1.1 myhost myhost-hme1 # External interface
> 
> and created a Kerberos principle 
> 
> 
> [EMAIL PROTECTED]

You'd still need a [EMAIL PROTECTED] for login.krb5/pam_krb5/ksu/anything
that validates password against Kerberos.

> -- 
> Shaun


Cheers,

Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Reply via email to