Revert the last two commits (fix for #6386). The actual problem
commit74fa6aa409c5539e22d28d2f32fab9fab2f0236c
authorJeremy Allison <jra@samba.org>
Fri, 22 May 2009 01:37:36 +0000 (21 18:37 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 May 2009 07:39:47 +0000 (26 09:39 +0200)
tree709d849768cf387ac2c28d7e8fe6fa4fd976a9f3
parentda7372fdb0d2c29619dbcb1c180317c0f2bd834a
Revert the last two commits (fix for #6386). The actual problem
was a bug in ldb in 3.2 which could return a freed pointer on
ret != LDAP_SUCCESS. The main thing we must ensure is that we
never talloc_steal until we know LDAP_SUCCESS was returned.
Jeremy.
(cherry picked from commit f3c3ee0f5dc6266f58e96606b73f55b812fe5171)
source3/groupdb/mapping_ldb.c