diff options
author | Gerald Carter <jerry@samba.org> | 2003-06-25 17:41:05 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-06-25 17:41:05 +0000 |
commit | d7f7fcda425bef380441509734eca33da943c091 (patch) | |
tree | 5ccf717071d05ba0dae0af4f3d8130feedd0b86c /source/smbd/change_trust_pw.c | |
parent | 57617a0f8c84f9ced4df2901811ce5a5a5ae005e (diff) | |
download | samba-d7f7fcda425bef380441509734eca33da943c091.tar.gz samba-d7f7fcda425bef380441509734eca33da943c091.tar.xz samba-d7f7fcda425bef380441509734eca33da943c091.zip |
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())
Diffstat (limited to 'source/smbd/change_trust_pw.c')
-rw-r--r-- | source/smbd/change_trust_pw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/change_trust_pw.c b/source/smbd/change_trust_pw.c index 8aff96d0d6d..4993e285cac 100644 --- a/source/smbd/change_trust_pw.c +++ b/source/smbd/change_trust_pw.c @@ -43,7 +43,7 @@ NTSTATUS change_trust_account_password( const char *domain, const char *remote_m goto failed; } - if ( !lookup_dc_name(global_myname(), domain, &pdc_ip, dc_name) ) + if ( !name_status_find( domain, 0x1b, 0x20, pdc_ip, dc_name) ) goto failed; } /* supoport old deprecated "smbpasswd -j DOMAIN -r MACHINE" behavior */ |