mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
fix connecting to a BDC when the PDC is down but in WINS and no bcast
can be used to find a BDC 2nd try ....
This commit is contained in:
parent
e95d8e2c9e
commit
f757223ebe
@ -152,11 +152,9 @@ static BOOL cm_rpc_find_dc(const char *domain, struct in_addr *dc_ip, fstring sr
|
||||
return True;
|
||||
}
|
||||
|
||||
if (!get_dc_list(True, domain, &ip_list, &count)) {
|
||||
if (!get_dc_list(False, domain, &ip_list, &count)) {
|
||||
DEBUG(3, ("Could not look up dc's for domain %s\n", domain));
|
||||
return False;
|
||||
}
|
||||
if (!get_dc_list(False, domain, &ip_list, &count)) {
|
||||
DEBUG(3, ("Could not look up dc's for domain %s\n", domain));
|
||||
return False;
|
||||
}
|
||||
|
||||
/* Pick a nice close server */
|
||||
|
Loading…
Reference in New Issue
Block a user