diff options
author | Jeremy Allison <jra@samba.org> | 2001-11-21 23:00:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-11-21 23:00:59 +0000 |
commit | f146325e7df80b26616225017ef6a60ff5f2e349 (patch) | |
tree | dc45a5b3308ee837158cce77f79ff696d4e004fa /source3/libsmb/domain_client_validate.c | |
parent | 646f8ca3e822290897e6298dd16ad3b4be78c07a (diff) | |
download | samba-f146325e7df80b26616225017ef6a60ff5f2e349.tar.gz samba-f146325e7df80b26616225017ef6a60ff5f2e349.tar.bz2 samba-f146325e7df80b26616225017ef6a60ff5f2e349.zip |
W2K doesn't seem to respond to *#0 names in node status. Ensure name
lookup uses password server parameter when looking for PDCs.
Jeremy.
(This used to be commit 54c968913d6553c6d834b068234ab176917075eb)
Diffstat (limited to 'source3/libsmb/domain_client_validate.c')
-rw-r--r-- | source3/libsmb/domain_client_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/domain_client_validate.c b/source3/libsmb/domain_client_validate.c index a8c3ff2f6b..2fd17e1fa4 100644 --- a/source3/libsmb/domain_client_validate.c +++ b/source3/libsmb/domain_client_validate.c @@ -53,7 +53,7 @@ static BOOL connect_to_domain_password_server(struct cli_state *pcli, return False; } - if (!name_status_find(0x20, to_ip, remote_machine)) { + if (!name_status_find("*", 0x20, 0x20, to_ip, remote_machine)) { DEBUG(0, ("connect_to_domain_password_server: Can't " "resolve name for IP %s\n", server)); return False; |