summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-31 11:32:20 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:38 +0200
commitdd4adc172171bab0e2a211d50b0c584834aff161 (patch)
tree7107087772c17e9d3383806f19bb1c4371c48375 /source3/winbindd
parent77e41c0ad47f9a0974ad34e4de3d0721117c7917 (diff)
downloadsamba-dd4adc172171bab0e2a211d50b0c584834aff161.tar.gz
samba-dd4adc172171bab0e2a211d50b0c584834aff161.tar.bz2
samba-dd4adc172171bab0e2a211d50b0c584834aff161.zip
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.
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_tdb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index bfaa3a9226..c2b459d006 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -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);
}