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/smbwrapper | |
parent | 646f8ca3e822290897e6298dd16ad3b4be78c07a (diff) | |
download | samba-f146325e7df80b26616225017ef6a60ff5f2e349.tar.gz samba-f146325e7df80b26616225017ef6a60ff5f2e349.tar.xz 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/smbwrapper')
-rw-r--r-- | source3/smbwrapper/smbw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index 24d09e2d423..b4b0b28f368 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -273,7 +273,7 @@ static char *smbw_find_workgroup(void) for (i=0;i<count;i++) { static fstring name; - if (name_status_find(0x1d, ip_list[i], name)) { + if (name_status_find("*", 0, 0x1d, ip_list[i], name)) { slprintf(server, sizeof(server), "%s#1D", name); if (smbw_server(server, "IPC$")) { smbw_setshared("WORKGROUP", name); |