git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b016f5
)
s4-dsdb: register samba handlers in dsdb module
author
Andrew Tridgell
<tridge@samba.org>
Tue, 7 Dec 2010 21:22:21 +0000
(08:22 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 8 Dec 2010 04:26:05 +0000
(
05:26
+0100)
source4/dsdb/samdb/ldb_modules/samba_dsdb.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
index f6c8e3ccf4f04d5950d09c63f93d3b3fc9149978..df2cd9897a56c337505c46c9d955e67c869ad665 100644
(file)
--- 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);