mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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.
This commit is contained in:
parent
bc59660fc1
commit
0dfe400d64
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user