summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-31 11:37:40 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:39 +0200
commit0dfe400d64285cb2433718d6c09961d9513bd9a2 (patch)
tree2959f54244f80c43fc9ff2d178d13c20a57b3eb4 /source3/winbindd
parentbc59660fc19493076a847e6439b80e5f6b6324d5 (diff)
downloadsamba-0dfe400d64285cb2433718d6c09961d9513bd9a2.tar.gz
samba-0dfe400d64285cb2433718d6c09961d9513bd9a2.tar.bz2
samba-0dfe400d64285cb2433718d6c09961d9513bd9a2.zip
s3:idmap_ldap: don't call idmap_alloc_ldap_init in idmap_ldap_init
The registering of alloc backends is being removed. The idmap backends are responsible for initializing their alloc code on their own if necessary.
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_ldap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index fec8c47a06..05b660d202 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -1313,14 +1313,6 @@ static NTSTATUS idmap_alloc_ldap_init(void)
NTSTATUS idmap_ldap_init(void);
NTSTATUS idmap_ldap_init(void)
{
- NTSTATUS ret;
-
- /* FIXME: bad hack to actually register also the alloc_ldap module
- * without changining configure.in */
- ret = idmap_alloc_ldap_init();
- if (! NT_STATUS_IS_OK(ret)) {
- return ret;
- }
return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "ldap",
&idmap_ldap_methods);
}