samba-technical@lists.samba.org
[Top] [All Lists]

Re: [PATCH] fix smartness og name_to_fqdn() code

Subject: Re: [PATCH] fix smartness og name_to_fqdn() code
From: Andrew Bartlett
Date: Thu, 31 Aug 2006 11:05:54 +1000
On Wed, 2006-08-30 at 18:36 -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Andrew,
> 
> > I'm not entirely sure what this is doing.  Unfortunately, many sites
> > (anyone using Fedora and presumably RHEL) will end up with:
> > 
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1       localhost.localdomain   localhost       piglett
> > 
> > by default.
> 
> This is a broken /etc/hosts IMO. 'net ads join' will not work
> any more with out a validly configured fqdn.   We have to
> have a valid fqdn to set the dNSHostName attribute value.

I get the feeling this is one of those areas where people will disagree
on best practice, but my point is that if we bug out on that, there are
a lot of hosts we will bug out on.

Perhaps a better fallback might be <hostname>.<ads domain>?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
<Prev in Thread] Current Thread [Next in Thread>