diff options
author | Tim Potter <tpot@samba.org> | 2001-11-29 05:50:32 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-29 05:50:32 +0000 |
commit | ff27a326f17223cba12b7e0b41ec84aad8238385 (patch) | |
tree | d1374839939104a08f1f309cab2004e223b9656c /source3/auth | |
parent | 5bfc7214afb23984acc7aba9fd7a57eec7c18d6d (diff) | |
download | samba-ff27a326f17223cba12b7e0b41ec84aad8238385.tar.gz samba-ff27a326f17223cba12b7e0b41ec84aad8238385.tar.bz2 samba-ff27a326f17223cba12b7e0b41ec84aad8238385.zip |
I think the lookup_pdc_name() should be called lookup_dc_name() and the
name_status_find() call here should look up a #1c name instead of #1d.
This fixes some bugs currently with BDC authentication in winbindd and in
smbd as you can't query the #1d name with the ip address of a BDC.
Who is Uncle Tom Cobbley anyway?
(This used to be commit 4215048f7b20a8f9e5877bdbb2f54841b2f7fa64)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index a779a7e9c0..125b3aa029 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -184,7 +184,7 @@ static BOOL attempt_connect_to_dc(struct cli_state *pcli, struct in_addr *ip, if (is_zero_ip(*ip)) return False; - if (!lookup_pdc_name(global_myname, lp_workgroup(), ip, dc_name)) + if (!lookup_dc_name(global_myname, lp_workgroup(), ip, dc_name)) return False; return connect_to_domain_password_server(pcli, dc_name, trust_passwd); |