Date: Wed Jun 25 17:41:04 2003 Author: jerry Update of /data/cvs/samba/source/nsswitch In directory dp.samba.org:/tmp/cvs-serv15906/nsswitch
Modified Files: Tag: SAMBA_3_0 winbindd_cm.c winbindd_rpc.c wins.c Log Message: large change: *) consolidates the dc location routines again (dns and netbios) get_dc_list() or get_sorted_dc_list() is the authoritative means of locating DC's again. (also inludes a flag to get_dc_list() to define if this should be a DNS only lookup or not) (however, if you set "name resolve order = hosts wins" you could still get DNS queries for domain name IFF ldap_domain2hostlist() fails. The answer? Fix your DNS setup) *) enabled DOMAIN<0x1c> lookups to be funneled through resolve_hosts resulting in a call to ldap_domain2hostlist() if lp_security() == SEC_ADS *) enables name cache for winbind ADS backend *) enable the negative connection cache for winbind ADS backend *) removes some old dead code *) consolidates some duplicate code *) moves the internal_name_resolve() to use an IP/port pair to deal with SRV RR dns replies. The namecache code also supports the IP:port syntax now as well. *) removes 'ads server' and moves the functionality back into 'password server' (which can support "hostname:port" syntax now but works fine with defaults depending on the value of lp_security()) Revisions: winbindd_cm.c 1.31.2.31 => 1.31.2.32 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.31.2.31&r2=1.31.2.32 winbindd_rpc.c 1.25.2.14 => 1.25.2.15 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.25.2.14&r2=1.25.2.15 wins.c 1.17.2.2 => 1.17.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wins.c.diff?r1=1.17.2.2&r2=1.17.2.3