[PATCH] name_to_fqdn enhancements

simo idra at samba.org
Tue Jul 11 17:18:49 GMT 2006


Currently our name_to_fqdn() function does not explore aliases if the
first name it come up with is not the fqdn but a short name.

This may result in a keytab where the fqdn is not the one used by the
host.
For example when the host fqdn is samba.example.com and we are joined to
the domain windom.example.com and the /etc/hosts file has an entry like:
1.2.3.4	samba samba.example.com

This patch try to be smart with hand made /etc/hosts files

Thanks to Seth Elssworth of Quest for pointing out the problem.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list