summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-16 14:23:21 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-16 21:10:50 +1100
commit67950c27e473ebf8f7f81ef0ef92d2bd7931622a (patch)
treecdfcdab0329a4786cccc9b8a3b5c64fae001e8be /source4/dsdb/samdb/ldb_modules/extended_dn_store.c
parentf6c39cec27eea2522c62e6f1ff85efdafde351ac (diff)
downloadsamba-67950c27e473ebf8f7f81ef0ef92d2bd7931622a.tar.gz
samba-67950c27e473ebf8f7f81ef0ef92d2bd7931622a.tar.bz2
samba-67950c27e473ebf8f7f81ef0ef92d2bd7931622a.zip
s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.c
This will be used to allow the flag based ldb functions to work on both a ldb or a module, thus saving a lot of specialist functions.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/extended_dn_store.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
index 0b9a105be6..3c4c171c19 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
@@ -275,7 +275,7 @@ static int extended_store_replace(struct extended_dn_context *ac,
return ret;
}
- ret = dsdb_request_add_controls(ac->module, os->search_req,
+ ret = dsdb_request_add_controls(os->search_req,
DSDB_SEARCH_SHOW_DELETED|DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT);
if (ret != LDB_SUCCESS) {
talloc_free(os);