1
0
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:
Günther Deschner 2008-08-28 12:29:24 +02:00
parent 29af730964
commit 52e23fe460

View File

@ -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 ) {