mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_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
77e41c0ad4
commit
dd4adc1721
@ -938,14 +938,7 @@ static NTSTATUS idmap_alloc_tdb_init(void)
|
||||
|
||||
NTSTATUS idmap_tdb_init(void)
|
||||
{
|
||||
NTSTATUS ret;
|
||||
|
||||
DEBUG(10, ("calling idmap_tdb_init\n"));
|
||||
|
||||
/* FIXME: bad hack to actually register also the alloc_tdb module without changining configure.in */
|
||||
ret = idmap_alloc_tdb_init();
|
||||
if (! NT_STATUS_IS_OK(ret)) {
|
||||
return ret;
|
||||
}
|
||||
return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "tdb", &db_methods);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user