summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-19 23:57:48 +0000
committerJeremy Allison <jra@samba.org>2000-12-19 23:57:48 +0000
commitc25533de9918ed9b0c79fd039e11d1b79f513db0 (patch)
tree9014018fcc14c73cb7452a27adb823b358b561f4 /source/rpc_client
parent0f39895ab007a7300aed6c011c487593ee8c91f0 (diff)
downloadsamba-c25533de9918ed9b0c79fd039e11d1b79f513db0.tar.gz
samba-c25533de9918ed9b0c79fd039e11d1b79f513db0.tar.xz
samba-c25533de9918ed9b0c79fd039e11d1b79f513db0.zip
Fixed bug found by Gerald. If a Samba server joins a domain and is set
to search for a DC to authenticate to using the "*" syntax than ensure that for the first hour after the password change is searches for the PDC using the 1B name not the 1C name as domain replication may not have occured. Jeremy.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_netlogon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpc_client/cli_netlogon.c b/source/rpc_client/cli_netlogon.c
index 63461c5023e..3e24e74a590 100644
--- a/source/rpc_client/cli_netlogon.c
+++ b/source/rpc_client/cli_netlogon.c
@@ -665,7 +665,8 @@ account password for domain %s.\n", domain));
int count = 0;
int i;
- if(!get_dc_list(domain, &ip_list, &count))
+ /* Use the PDC *only* for this. */
+ if(!get_dc_list(True, domain, &ip_list, &count))
continue;
/*