summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_autorid.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_autorid.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_autorid.c')
-rw-r--r--source3/winbindd/idmap_autorid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index 1279f00ee6..04c64354b7 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -563,7 +563,7 @@ static struct idmap_methods autorid_methods = {
.sids_to_unixids = idmap_autorid_sids_to_unixids,
};
-NTSTATUS idmap_autorid_init(void)
+NTSTATUS samba_init_module(void)
{
return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION,
"autorid", &autorid_methods);