From 0dfe400d64285cb2433718d6c09961d9513bd9a2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 31 May 2010 11:37:40 +0200 Subject: 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. --- source3/winbindd/idmap_ldap.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3') 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); } -- cgit