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