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/likewise_cell.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/likewise_cell.c')
-rw-r--r-- | source3/winbindd/idmap_adex/likewise_cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_adex/likewise_cell.c b/source3/winbindd/idmap_adex/likewise_cell.c index 7354a367b8..d666d8c01a 100644 --- a/source3/winbindd/idmap_adex/likewise_cell.c +++ b/source3/winbindd/idmap_adex/likewise_cell.c @@ -400,7 +400,7 @@ done: e!=NULL; e = ads_next_entry(c->conn, e)) { - char *dn = ads_get_dn(c->conn, NULL, e); + char *dn = ads_get_dn(c->conn, talloc_tos(), e); DEBUGADD(10,(" dn: %s\n", dn ? dn : "<NULL>")); TALLOC_FREE(dn); |