CVS update: samba/source/lib

abartlet at samba.org abartlet at samba.org
Tue Apr 22 17:28:41 EST 2003


Date:	Tue Apr 22 07:28:41 2003
Author:	abartlet

Update of /home/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv7669/lib

Modified Files:
      Tag: SAMBA_3_0
	util.c 
Log Message:
Make our 'get DNS domain name' code try a bit harder - if gethostname() doesn't
include a domain portion, do a gethostbyname() lookup on that name.

Use this name in our PolicyPrimaryDomainInformation reply (_lsa_query_info2)
that Win2k uses when trying to trust us as a trusted domain.

(We need to do a better mapping between our Netbios and Win2k domain names, 
but this will do for now - particularly annoying is the way this possibly needs
to map with our kerberos realm).

Andrew Bartlett


Revisions:
util.c		1.358.2.23 => 1.358.2.24
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.358.2.23&r2=1.358.2.24


More information about the samba-cvs mailing list