summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_rid.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-12-03 07:03:35 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-12-03 08:36:30 +0100
commit05bc4de083b993e3db06fdb2a3e1198021526a71 (patch)
tree48c86581142760ca89e6c851d271367d77ae0d05 /source3/winbindd/idmap_rid.c
parentd74b3f941f5e28bf4a98dab6d4be25fbaab200b7 (diff)
downloadsamba-05bc4de083b993e3db06fdb2a3e1198021526a71.tar.gz
samba-05bc4de083b993e3db06fdb2a3e1198021526a71.tar.bz2
samba-05bc4de083b993e3db06fdb2a3e1198021526a71.zip
Revert making public of the samba-module library.
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd/idmap_rid.c')
-rw-r--r--source3/winbindd/idmap_rid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_rid.c b/source3/winbindd/idmap_rid.c
index c01b45b1b4..4112fb860a 100644
--- a/source3/winbindd/idmap_rid.c
+++ b/source3/winbindd/idmap_rid.c
@@ -187,7 +187,7 @@ static struct idmap_methods rid_methods = {
.sids_to_unixids = idmap_rid_sids_to_unixids,
};
-NTSTATUS samba_module_init(void)
+NTSTATUS samba_init_module(void)
{
return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "rid", &rid_methods);
}