From 05bc4de083b993e3db06fdb2a3e1198021526a71 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 3 Dec 2011 07:03:35 +0100 Subject: 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 Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104 --- source3/winbindd/idmap_ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/idmap_ad.c') diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index 83ed03b6e7..e19bf6893f 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -1094,7 +1094,7 @@ static struct nss_info_methods nss_sfu20_methods = { Initialize the plugins ***********************************************************************/ -NTSTATUS samba_module_init(void) +NTSTATUS samba_init_module(void) { static NTSTATUS status_idmap_ad = NT_STATUS_UNSUCCESSFUL; static NTSTATUS status_nss_rfc2307 = NT_STATUS_UNSUCCESSFUL; -- cgit