summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_adex/provider_unified.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/idmap_adex/provider_unified.c')
-rw-r--r--source3/winbindd/idmap_adex/provider_unified.c2
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)) {