summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/config.mk
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-11-23 20:30:35 +1100
committerStefan Metzmacher <metze@samba.org>2009-11-23 14:15:07 +0100
commit401ba9c9cf357d6b420a7401fc1a915871d96f8d (patch)
tree0bf733a327ce712e4d815b0a62e3f2278780a4ae /source4/dsdb/samdb/ldb_modules/config.mk
parente297af00fad2032e79f1889fd6d2713932249bb0 (diff)
downloadsamba-401ba9c9cf357d6b420a7401fc1a915871d96f8d.tar.gz
samba-401ba9c9cf357d6b420a7401fc1a915871d96f8d.tar.bz2
samba-401ba9c9cf357d6b420a7401fc1a915871d96f8d.zip
s4:dsdb Move module configuration from each ldb into samba_dsdb.c
This makes getting the module order correct, the obligation of Samba4 developers, and not system administrators. In particular, once an ldb is updated to use only the 'samba_dsdb' module, no further changes to the ldb should be required when upgrading to later Samba4 versions. (thanks to metze for the suggestion of samba_dsdb as a long-term stable name for the module) Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/config.mk')
-rw-r--r--source4/dsdb/samdb/ldb_modules/config.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/config.mk b/source4/dsdb/samdb/ldb_modules/config.mk
index 93c248b612..1849c69813 100644
--- a/source4/dsdb/samdb/ldb_modules/config.mk
+++ b/source4/dsdb/samdb/ldb_modules/config.mk
@@ -9,6 +9,17 @@ $(eval $(call proto_header_template,$(dsdbsrcdir)/samdb/ldb_modules/util_proto.h
################################################
+# Start MODULE ldb_samba_dsdb
+[MODULE::ldb_samba_dsdb]
+SUBSYSTEM = LIBLDB
+PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC LIBEVENTS LIBNDR
+INIT_FUNCTION = LDB_MODULE(samba_dsdb)
+# End MODULE ldb_samba_dsdb
+################################################
+
+ldb_samba_dsdb_OBJ_FILES = $(dsdbsrcdir)/samdb/ldb_modules/samba_dsdb.o
+
+################################################
# Start MODULE ldb_objectguid
[MODULE::ldb_objectguid]
SUBSYSTEM = LIBLDB