[PATCH] name_to_fqdn enhancements

Gerald (Jerry) Carter jerry at samba.org
Wed Jul 12 12:29:05 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

simo wrote:
> Uhmm forgot to actually attach the patch ...
> 
> On Tue, 2006-07-11 at 13:18 -0400, simo wrote:
>> 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.

I haven't tested it yet but a brief review looks ok.  I'll
get it in today.




jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEtOsRIR7qMdg1EfYRArF9AKDJjTlLa5NeVIZrQsZpWh06Mh4yPgCg7VVj
lg90a+q7O7HgECVGpKIj/gg=
=PRlq
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list