summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-11-12 21:31:11 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-11-12 22:23:23 +1100
commit0d6c3058b22b387b264393f83fc0c069243c27b7 (patch)
tree02c737c2b5226f900253b52d6c12536ef192734a /source4/dsdb
parent57406482791dfeadbda177ffbba4f02443f7aa76 (diff)
downloadsamba-0d6c3058b22b387b264393f83fc0c069243c27b7.tar.gz
samba-0d6c3058b22b387b264393f83fc0c069243c27b7.tar.bz2
samba-0d6c3058b22b387b264393f83fc0c069243c27b7.zip
s4:dsdb Make callbacks in extended_dn_out clearer to follow
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_out.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
index f946cb1e43..bf70c3e80f 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
@@ -489,6 +489,11 @@ static int extended_callback(struct ldb_request *req, struct ldb_reply *ares,
return ldb_module_send_entry(ac->req, msg, ares->controls);
}
+static int extended_callback_ldb(struct ldb_request *req, struct ldb_reply *ares)
+{
+ return extended_callback(req, ares, NULL);
+}
+
static int extended_callback_openldap(struct ldb_request *req, struct ldb_reply *ares)
{
return extended_callback(req, ares, handle_dereference_openldap);
@@ -642,7 +647,7 @@ static int extended_dn_out_search(struct ldb_module *module, struct ldb_request
static int extended_dn_out_ldb_search(struct ldb_module *module, struct ldb_request *req)
{
- return extended_dn_out_search(module, req, extended_callback_openldap);
+ return extended_dn_out_search(module, req, extended_callback_ldb);
}
static int extended_dn_out_openldap_search(struct ldb_module *module, struct ldb_request *req)