From 093148c1f0eca1ee40552c8eddfdc1ba2554d64e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 14 Aug 2009 13:10:42 +1000 Subject: s4:ldap_server Correct removal of talloc_steal() This corrects commit 7a82aed71b74af8bc2a8a4381541adbb22452d20. The steal did not set ent->attributes, so it was incorrect to assign to ent->attributes. Andrew Bartlett --- source4/ldap_server/ldap_backend.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index 72366d2db3..a318e265b7 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -427,7 +427,6 @@ static NTSTATUS ldapsrv_SearchRequest(struct ldapsrv_call *call) } ent->attributes[j].num_values = res->msgs[i]->elements[j].num_values; ent->attributes[j].values = res->msgs[i]->elements[j].values; - ent->attributes = res->msgs[i]->elements[j].values; } queue_reply: ldapsrv_queue_reply(call, ent_r); -- cgit