1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

s4-dsdb: register samba handlers in dsdb module

This commit is contained in:
Andrew Tridgell 2010-12-08 08:22:21 +11:00
parent 1b016f58ce
commit be53dcd8bc

View File

@ -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);