mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r21098: When get_dc_name_via_netlogon() in get_dcs() fails to find a trusted DC
we may not just assume that we look for our own realm's dcs next.
Guenther
(This used to be commit bf0c4ce7b1
)
This commit is contained in:
parent
4e1a6ca710
commit
8162d5ef3a
@ -1126,9 +1126,9 @@ static BOOL get_dcs(TALLOC_CTX *mem_ctx, const struct winbindd_domain *domain,
|
||||
We deliberately don't care about the
|
||||
return here. */
|
||||
|
||||
get_dc_name(domain->name, lp_realm(), dcname, &ip);
|
||||
get_dc_name(domain->name, domain->alt_name, dcname, &ip);
|
||||
|
||||
sitename = sitename_fetch(lp_realm());
|
||||
sitename = sitename_fetch(domain->alt_name);
|
||||
if (sitename) {
|
||||
|
||||
/* Do the site-specific AD dns lookup first. */
|
||||
|
Loading…
Reference in New Issue
Block a user