mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
winbindd: prepare find_auth_domain() transitive trusts on a DC
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13235 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
c5bd18c002
commit
af9a37aa19
@ -395,8 +395,14 @@ struct winbindd_domain *find_auth_domain(uint8_t flags,
|
||||
DEBUG(3, ("Authentication for domain [%s] refused "
|
||||
"as it is not a trusted domain\n",
|
||||
domain_name));
|
||||
return NULL;
|
||||
}
|
||||
return domain;
|
||||
|
||||
if (domain->secure_channel_type != SEC_CHAN_NULL) {
|
||||
return domain;
|
||||
}
|
||||
|
||||
return domain->routing_domain;
|
||||
}
|
||||
|
||||
if (strequal(domain_name, get_global_sam_name())) {
|
||||
|
Loading…
Reference in New Issue
Block a user