mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
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 54c968913d
)
This commit is contained in:
@ -1602,7 +1602,7 @@ int smbc_opendir(const char *fname)
|
||||
|
||||
/* find the name of the server ... */
|
||||
|
||||
if (!name_status_find(0, rem_ip, server)) {
|
||||
if (!name_status_find("*", 0, 0, rem_ip, server)) {
|
||||
|
||||
DEBUG(0, ("Could not get the name of local master browser for server %s\n", server));
|
||||
errno = EINVAL;
|
||||
@ -1671,7 +1671,7 @@ int smbc_opendir(const char *fname)
|
||||
*/
|
||||
|
||||
|
||||
if (!name_status_find(0, rem_ip, buserver)) {
|
||||
if (!name_status_find("*", 0, 0, rem_ip, buserver)) {
|
||||
|
||||
DEBUG(0, ("Could not get name of local master browser %s\n", server));
|
||||
errno = EPERM; /* FIXME, is this correct */
|
||||
|
Reference in New Issue
Block a user