mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
winbindd: fix invalid sid copy (hit when enumerating sibling domains).
Guenther
(This used to be commit 5eee742335
)
This commit is contained in:
parent
29af730964
commit
52e23fe460
@ -1254,7 +1254,7 @@ static NTSTATUS trusted_domains(struct winbindd_domain *domain,
|
||||
if (trusts.array[i].sid) {
|
||||
sid_copy( &d.sid, trusts.array[i].sid);
|
||||
} else {
|
||||
sid_copy(&(*dom_sids)[ret_count], &global_sid_NULL);
|
||||
sid_copy(&d.sid, &global_sid_NULL);
|
||||
}
|
||||
|
||||
if ( domain->primary ) {
|
||||
|
Loading…
Reference in New Issue
Block a user