mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Fix winbindd crash bug with trusted domains. Bug #5736
(This used to be commit d4f5caa3d38b5afc1e8b3d0e0c6d7d68a152fe0a)
This commit is contained in:
parent
14a7860681
commit
72df999759
@ -1225,6 +1225,8 @@ static NTSTATUS trusted_domains(struct winbindd_domain *domain,
|
||||
for (i = 0; i < trusts.count; i++) {
|
||||
struct winbindd_domain d;
|
||||
|
||||
ZERO_STRUCT(d);
|
||||
|
||||
/* drop external trusts if this is not our primary
|
||||
domain. This means that the returned number of
|
||||
domains may be less that the ones actually trusted
|
||||
|
Loading…
x
Reference in New Issue
Block a user