From 8a13c959313fb876d5ef798be8e54d2971e5307d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 31 May 2010 11:24:52 +0200 Subject: s3:idmap_tdb2: don't call smb_register_idmap_alloc() in idmap_tdb2_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_tdb2.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index 048955954f..e546d44594 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -890,14 +890,5 @@ static struct idmap_alloc_methods db_alloc_methods = { NTSTATUS idmap_tdb2_init(void) { - NTSTATUS ret; - - /* register both backends */ - ret = smb_register_idmap_alloc(SMB_IDMAP_INTERFACE_VERSION, "tdb2", &db_alloc_methods); - if (! NT_STATUS_IS_OK(ret)) { - DEBUG(0, ("Unable to register idmap alloc tdb2 module: %s\n", get_friendly_nt_error_msg(ret))); - return ret; - } - return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "tdb2", &db_methods); } -- cgit