s3:libads Make ads_get_dn() take a talloc context
authorAndrew Bartlett <abartlet@samba.org>
Wed, 18 Mar 2009 06:35:03 +0000 (17:35 +1100)
committerGünther Deschner <gd@samba.org>
Mon, 6 Apr 2009 13:55:58 +0000 (15:55 +0200)
commit6673ad24d48ad44fa76497f0327b13e82721d0a1
tree563b1036e311dcd014d335e0bbef0c0f15260e6e
parent0fe131b32f4d372ea70060b0ba3874fc632e2a33
s3:libads Make ads_get_dn() take a talloc context

Also remove ads_memfree(), which was only ever a wrapper around
SAFE_FREE, used only to free the DN from ads_get_ds().

This actually makes libgpo more consistant, as it mixed a talloc and a
malloc based string on the same element.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 20501876735fc4656083747ba8aa0de9da8fb820)
source3/include/ads_protos.h
source3/libads/ldap.c
source3/libgpo/gpo_ldap.c
source3/libnet/libnet_join.c
source3/printing/nt_printing.c
source3/utils/net_ads.c
source3/utils/net_ads_gpo.c
source3/winbindd/idmap_adex/gc_util.c
source3/winbindd/idmap_adex/likewise_cell.c
source3/winbindd/idmap_adex/provider_unified.c
source3/winbindd/winbindd_ads.c