summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-08 08:22:21 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-08 05:26:05 +0100
commitbe53dcd8bcfab2f8f6b25b375cd412175d5ab74a (patch)
tree913112ac6e0b6efa2627804982455a3035556a41 /source4
parent1b016f58cee801d12b452a89a4d4ba959da61b93 (diff)
downloadsamba-be53dcd8bcfab2f8f6b25b375cd412175d5ab74a.tar.gz
samba-be53dcd8bcfab2f8f6b25b375cd412175d5ab74a.tar.bz2
samba-be53dcd8bcfab2f8f6b25b375cd412175d5ab74a.zip
s4-dsdb: register samba handlers in dsdb module
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samba_dsdb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
index f6c8e3ccf4..df2cd9897a 100644
--- a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
+++ b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
@@ -218,6 +218,12 @@ static int samba_dsdb_init(struct ldb_module *module)
return ldb_oom(ldb);
}
+ ret = ldb_register_samba_handlers(ldb);
+ if (ret != LDB_SUCCESS) {
+ talloc_free(tmp_ctx);
+ return ret;
+ }
+
samba_dsdb_dn = ldb_dn_new(tmp_ctx, ldb, "@SAMBA_DSDB");
if (!samba_dsdb_dn) {
talloc_free(tmp_ctx);