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 | 4215048f7b20a8f9e5877bdbb2f54841b2f7fa64 (patch) | |
tree | f4a6b5a8d391f8be5181c2d9c3313f383441ec27 /source/rpc_client | |
parent | e6004062a508b1fe6dd7f93d8a933da9916598f8 (diff) | |
download | samba-4215048f7b20a8f9e5877bdbb2f54841b2f7fa64.tar.gz samba-4215048f7b20a8f9e5877bdbb2f54841b2f7fa64.tar.xz samba-4215048f7b20a8f9e5877bdbb2f54841b2f7fa64.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?
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_trust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_trust.c b/source/rpc_client/cli_trust.c index a12f4035eed..c910e2f334a 100644 --- a/source/rpc_client/cli_trust.c +++ b/source/rpc_client/cli_trust.c @@ -213,7 +213,7 @@ account password for domain %s.\n", domain)); for(i = 0; i < count; i++) { fstring dc_name; - if(!lookup_pdc_name(global_myname, domain, &ip_list[i], dc_name)) + if(!lookup_dc_name(global_myname, domain, &ip_list[i], dc_name)) continue; if((res = modify_trust_password( domain, dc_name, old_trust_passwd_hash, new_trust_passwd_hash))) |