diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-20 18:25:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-20 21:08:20 +0200 |
commit | bc9bbda8b390a221d7b88fd6eb1b54efc8c91c6b (patch) | |
tree | 9fcb3d59d4468857c47f1b3949c7981d2811f5f1 /source3 | |
parent | f3843e330f312b72a24563417309159b0d99dc50 (diff) | |
download | samba-bc9bbda8b390a221d7b88fd6eb1b54efc8c91c6b.tar.gz samba-bc9bbda8b390a221d7b88fd6eb1b54efc8c91c6b.tar.bz2 samba-bc9bbda8b390a221d7b88fd6eb1b54efc8c91c6b.zip |
Fix a valgrind error in idmap_ad_sids_to_unixids()
We need to initialize all mappings in case we don't find anything.
Simo, please check!
Volker
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/idmap_ad.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index 8144d876d4..60a2d8642a 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -517,6 +517,8 @@ again: bidx = idx; for (i = 0; (i < IDMAP_AD_MAX_IDS) && ids[idx]; i++, idx++) { + ids[idx]->status = ID_UNKNOWN; + sidstr = sid_binstring(ids[idx]->sid); filter = talloc_asprintf_append_buffer(filter, "(objectSid=%s)", sidstr); |