diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-19 23:57:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-19 23:57:48 +0000 |
commit | 7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e (patch) | |
tree | 7f143422e11c062a31e011625abb8a0d579d637f /source3/rpc_client | |
parent | 0f95385d2887a50abbfed7ffe5631f13287bd4b4 (diff) | |
download | samba-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.c | 3 |
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; /* |