large change:
authorGerald Carter <jerry@samba.org>
Wed, 25 Jun 2003 17:41:05 +0000 (17:41 +0000)
committerGerald Carter <jerry@samba.org>
Wed, 25 Jun 2003 17:41:05 +0000 (17:41 +0000)
commitf51d769dd303027a3dbf46fc89a482933988e866
tree5bb400a9df1f6fb27f2b045a6521e2995de8c686
parenteb61c8238298e97644202139e6d7f55e46eb9c26
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())
(This used to be commit d7f7fcda425bef380441509734eca33da943c091)
24 files changed:
source3/Makefile.in
source3/auth/auth_domain.c
source3/include/smb.h
source3/include/smb_macros.h
source3/lib/util.c
source3/lib/util_str.c
source3/lib/wins_srv.c
source3/libads/ads_struct.c
source3/libads/ldap.c
source3/libsmb/cliconnect.c
source3/libsmb/namecache.c
source3/libsmb/namequery.c
source3/libsmb/namequery_dc.c
source3/nsswitch/winbindd_cm.c
source3/nsswitch/winbindd_rpc.c
source3/nsswitch/wins.c
source3/param/loadparm.c
source3/passdb/pdb_interface.c
source3/passdb/secrets.c
source3/printing/nt_printing.c
source3/smbd/change_trust_pw.c
source3/utils/net.c
source3/utils/net_lookup.c
source3/utils/net_rpc.c