mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
We used to use the name "*",0x0 here, but some Windows
servers don't answer that name. However we *know* they
have the name workgroup#1b (as we just looked it up).
So do the node status request on this name instead.
Found at LBL labs.
Jeremy.
(This used to be commit 41e3abe8b8
)
This commit is contained in:
parent
f30c35b412
commit
6b4330235f
@ -320,7 +320,15 @@ static void find_domain_master_name_query_success(struct subnet_record *subrec,
|
||||
zero_ip(&work->dmb_addr);
|
||||
|
||||
/* Now initiate the node status request. */
|
||||
make_nmb_name(&nmbname,"*",0x0);
|
||||
|
||||
/* We used to use the name "*",0x0 here, but some Windows
|
||||
* servers don't answer that name. However we *know* they
|
||||
* have the name workgroup#1b (as we just looked it up).
|
||||
* So do the node status request on this name instead.
|
||||
* Found at LBL labs. JRA.
|
||||
*/
|
||||
|
||||
make_nmb_name(&nmbname,work->work_group,0x1b);
|
||||
|
||||
/* Put the workgroup name into the userdata so we know
|
||||
what workgroup we're talking to when the reply comes
|
||||
|
Loading…
Reference in New Issue
Block a user