summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_tdb2.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-10-20 17:59:32 +0200
committerChristian Ambach <ambi@samba.org>2011-10-21 16:30:56 +0200
commita4d245b3e8c4f7b911646464ba920fe71801358e (patch)
treeb786c839f79f8bfff3523ea34f01bef31c1e264f /source3/winbindd/idmap_tdb2.c
parentbfe1385e313156233c307855f507dbaf39e7616c (diff)
downloadsamba-a4d245b3e8c4f7b911646464ba920fe71801358e.tar.gz
samba-a4d245b3e8c4f7b911646464ba920fe71801358e.tar.bz2
samba-a4d245b3e8c4f7b911646464ba920fe71801358e.zip
s3:winbindd/idmap make idmap modules loadable again
commit 355b5e3a831415d9bef97 changed the module system to expect 'samba_init_module' as fixed initializer function
Diffstat (limited to 'source3/winbindd/idmap_tdb2.c')
-rw-r--r--source3/winbindd/idmap_tdb2.c2
1 files changed, 1 insertions, 1 deletions
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);
}