r19720: - don't pass a pointer reference to ldb_search_default_callback()
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Nov 2006 16:09:36 +0000 (16:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:28:13 +0000 (14:28 -0500)
commit47da62b15abf48f97ce6fc8dc4627792728349ae
treef9c74d43e1e652bb4f71a24119d2199615ad8be6
parent7a4f46c1c9ec8119db46ffc57d77fcf13ca0c5a8
r19720: - don't pass a pointer reference to ldb_search_default_callback()
  as it's ugly when it free's the callers memory on failure!

- only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE
  and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently
  have not way to return them in a ldb_result (we should fix this!)

metze
source/lib/ldb/common/ldb.c
source/lib/ldb/nssldb/ldb-nss.c