diff options
author | Günther Deschner <gd@samba.org> | 2009-05-28 15:32:55 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-05-28 15:38:35 +0200 |
commit | b3f2a3a488f868c4aa31c49bc145a8a6e81de3b5 (patch) | |
tree | e345bded033b2976b9e16dbb776da1e48122eb2f /source3/winbindd/idmap_adex | |
parent | e63d9c29c99c5311c9f4a8dbe432ff4cea4fb924 (diff) | |
download | samba-b3f2a3a488f868c4aa31c49bc145a8a6e81de3b5.tar.gz samba-b3f2a3a488f868c4aa31c49bc145a8a6e81de3b5.tar.bz2 samba-b3f2a3a488f868c4aa31c49bc145a8a6e81de3b5.zip |
s3-winbindd: fix remaining callers of sid_binstring().
Guenther
Diffstat (limited to 'source3/winbindd/idmap_adex')
-rw-r--r-- | source3/winbindd/idmap_adex/gc_util.c | 4 | ||||
-rw-r--r-- | source3/winbindd/idmap_adex/provider_unified.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_adex/gc_util.c b/source3/winbindd/idmap_adex/gc_util.c index 58e641b630..879c2e0ecf 100644 --- a/source3/winbindd/idmap_adex/gc_util.c +++ b/source3/winbindd/idmap_adex/gc_util.c @@ -716,11 +716,11 @@ done: *name = NULL; - sid_string = sid_binstring(sid); + sid_string = sid_binstring(frame, sid); BAIL_ON_PTR_ERROR(sid_string, nt_status); filter = talloc_asprintf(frame, "(objectSid=%s)", sid_string); - SAFE_FREE(sid_string); + TALLOC_FREE(sid_string); BAIL_ON_PTR_ERROR(filter, nt_status); nt_status = gc_search_all_forests_unique(filter, &ads, &msg); diff --git a/source3/winbindd/idmap_adex/provider_unified.c b/source3/winbindd/idmap_adex/provider_unified.c index f9d73f5f95..00db018de2 100644 --- a/source3/winbindd/idmap_adex/provider_unified.c +++ b/source3/winbindd/idmap_adex/provider_unified.c @@ -483,11 +483,11 @@ static NTSTATUS search_forest(struct likewise_cell *forest_cell, switch (fdata->ftype) { case SidFilter: - sid_binstr = sid_binstring(&fdata->filter.sid); + sid_binstr = sid_binstring(frame, &fdata->filter.sid); BAIL_ON_PTR_ERROR(sid_binstr, nt_status); filter = talloc_asprintf(frame, "(objectSid=%s)", sid_binstr); - SAFE_FREE(sid_binstr); + TALLOC_FREE(sid_binstr); break; case IdFilter: filter = build_id_filter(fdata->filter.id.id, |