1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00

r8650: Use the timestamps and a new objectguid module rather than placing

boilerplate attributes in every entry in provision.ldif.

The next step will be to use templates.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2005-07-20 11:43:23 +00:00
committed by Gerald (Jerry) Carter
parent f5e39455a8
commit 940ed9827f
7 changed files with 307 additions and 212 deletions

View File

@@ -189,6 +189,16 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
continue;
}
if (strcmp(modules[i], "objectguid") == 0) {
current = objectguid_module_init(ldb, options);
if (!current) {
ldb_debug(ldb, LDB_DEBUG_FATAL, "function 'init_module' in %s fails\n", modules[i]);
return -1;
}
DLIST_ADD(ldb->modules, current);
continue;
}
#ifdef _SAMBA_BUILD_
if (strcmp(modules[i], "samldb") == 0) {
current = samldb_module_init(ldb, options);