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

r12743: Remove the ugly way we had to make a second stage init and introduce

a second_stage_init private function for modules that need a second stage init.

Simo.
(This used to be commit 5e8b365fa2)
This commit is contained in:
Simo Sorce
2006-01-06 16:12:45 +00:00
committed by Gerald (Jerry) Carter
parent 8f4dc51345
commit dbef4d76de
21 changed files with 142 additions and 115 deletions

View File

@@ -878,9 +878,7 @@ const struct ldb_map_attribute samba3_attributes[] =
};
/* the init function */
struct ldb_module *ldb_samba3sam_module_init(struct ldb_context *ldb, int stage, const char *options[])
struct ldb_module *ldb_samba3sam_module_init(struct ldb_context *ldb, const char *options[])
{
if (stage != LDB_MODULES_INIT_STAGE_1) return NULL;
return ldb_map_init(ldb, samba3_attributes, samba3_objectclasses, "samba3sam");
}