From a4d245b3e8c4f7b911646464ba920fe71801358e Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 20 Oct 2011 17:59:32 +0200 Subject: s3:winbindd/idmap make idmap modules loadable again commit 355b5e3a831415d9bef97 changed the module system to expect 'samba_init_module' as fixed initializer function --- source3/winbindd/idmap_tdb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/idmap_tdb2.c') diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index ab47fe5389..ac3743e523 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -874,7 +874,7 @@ static struct idmap_methods db_methods = { .allocate_id = idmap_tdb2_get_new_id }; -NTSTATUS idmap_tdb2_init(void) +NTSTATUS samba_init_module(void) { return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "tdb2", &db_methods); } -- cgit