summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-31 11:24:52 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:38 +0200
commit8a13c959313fb876d5ef798be8e54d2971e5307d (patch)
treefbbc94786623b1477fcdc8d975efdd699bfbc534
parent7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5 (diff)
downloadsamba-8a13c959313fb876d5ef798be8e54d2971e5307d.tar.gz
samba-8a13c959313fb876d5ef798be8e54d2971e5307d.tar.bz2
samba-8a13c959313fb876d5ef798be8e54d2971e5307d.zip
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.
-rw-r--r--source3/winbindd/idmap_tdb2.c9
1 files changed, 0 insertions, 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);
}