[PATCH] fix smartness og name_to_fqdn() code

Andrew Bartlett abartlet at samba.org
Thu Aug 31 01:05:54 GMT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060831/59743247/attachment.bin


More information about the samba-technical mailing list