summaryrefslogtreecommitdiff
path: root/source3/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
commit7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e (patch)
tree7f143422e11c062a31e011625abb8a0d579d637f /source3/rpc_client
parent0f95385d2887a50abbfed7ffe5631f13287bd4b4 (diff)
downloadsamba-7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e.tar.gz
samba-7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e.tar.bz2
samba-7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e.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. (This used to be commit c25533de9918ed9b0c79fd039e11d1b79f513db0)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 63461c5023..3e24e74a59 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/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;
/*