diff options
author | Günther Deschner <gd@samba.org> | 2009-04-07 00:40:46 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-07 01:17:30 +0200 |
commit | d71dec9259366e99beca69fcd9397bd38ed82c71 (patch) | |
tree | 963204bf8ced95db535348c57542edbbf3db26a3 /source3/winbindd/idmap_adex/provider_unified.c | |
parent | eeddbb6f8466d285fd103a3a4da9ebf5afbcb613 (diff) | |
download | samba-d71dec9259366e99beca69fcd9397bd38ed82c71.tar.gz samba-d71dec9259366e99beca69fcd9397bd38ed82c71.tar.bz2 samba-d71dec9259366e99beca69fcd9397bd38ed82c71.zip |
s3-libads: avoid NULL talloc context with ads_get_dn().
Guenther
Diffstat (limited to 'source3/winbindd/idmap_adex/provider_unified.c')
-rw-r--r-- | source3/winbindd/idmap_adex/provider_unified.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_adex/provider_unified.c b/source3/winbindd/idmap_adex/provider_unified.c index 9134eb4e64..f9d73f5f95 100644 --- a/source3/winbindd/idmap_adex/provider_unified.c +++ b/source3/winbindd/idmap_adex/provider_unified.c @@ -368,7 +368,7 @@ static NTSTATUS check_result_unique_scoped(ADS_STRUCT **ads_list, LDAPMessage *e = ads_first_entry(ads_list[i], msg_list[i]); while (e) { - entry_dn = ads_get_dn(ads_list[i], NULL, e); + entry_dn = ads_get_dn(ads_list[i], talloc_tos(), e); BAIL_ON_PTR_ERROR(entry_dn, nt_status); if (check_forest_scope(entry_dn)) { |