1
0
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:
Michael Adam 2010-05-31 11:32:20 +02:00
parent 77e41c0ad4
commit dd4adc1721

View File

@ -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);
}