mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
winbind: correctly omit check for trusted domain support in cm_prepare_connection
when checking for a trusted domain situation.
This is how it was meant to be:
Otherwise, with a dc-trusted-domain situation but trusted domains disabled,
we would attempt to do a session setup and fail (wouldn't even get a trust
password).
Michael
(This used to be commit a5a51ca8e5
)
This commit is contained in:
parent
6efce4738f
commit
c5a030a38a
@ -808,7 +808,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (!is_trusted_domain_situation(domain->name) &&
|
||||
if (!is_dc_trusted_domain_situation(domain->name) &&
|
||||
(*cli)->protocol >= PROTOCOL_NT1 &&
|
||||
(*cli)->capabilities & CAP_EXTENDED_SECURITY)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user