From: Andrew Tridgell Date: Tue, 7 Dec 2010 21:22:21 +0000 (+1100) Subject: s4-dsdb: register samba handlers in dsdb module X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=be53dcd8bcfab2f8f6b25b375cd412175d5ab74a s4-dsdb: register samba handlers in dsdb module --- diff --git a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c index f6c8e3ccf4f0..df2cd9897a56 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);