diff options
author | Günther Deschner <gd@samba.org> | 2008-08-28 12:29:24 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-28 12:29:52 +0200 |
commit | 52e23fe460ed662e10137503abd08f4bd6596651 (patch) | |
tree | 333aacdca19d454645edbae3a4e00300558ed04f /source3/winbindd | |
parent | 29af730964e567a8391ee381aae3b9aaa7e5e7e1 (diff) | |
download | samba-52e23fe460ed662e10137503abd08f4bd6596651.tar.gz samba-52e23fe460ed662e10137503abd08f4bd6596651.tar.bz2 samba-52e23fe460ed662e10137503abd08f4bd6596651.zip |
winbindd: fix invalid sid copy (hit when enumerating sibling domains).
Guenther
(This used to be commit 5eee7423351ffd05486e33ff8eb905babcbc9422)
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c index 097fa3907d..53ea3e148c 100644 --- a/source3/winbindd/winbindd_ads.c +++ b/source3/winbindd/winbindd_ads.c @@ -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 ) { |