summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-06 12:02:05 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-06 13:37:13 +0100
commit233c8bca3bfda4d09d458b842873621a7ffe5e91 (patch)
treee4aad11c50487355e07aecefed6e9cc6191ceb3b /source3/winbindd/idmap.c
parent82785957f0eca5722914ac0607ba2b3a53198d58 (diff)
downloadsamba-233c8bca3bfda4d09d458b842873621a7ffe5e91.tar.gz
samba-233c8bca3bfda4d09d458b842873621a7ffe5e91.tar.bz2
samba-233c8bca3bfda4d09d458b842873621a7ffe5e91.zip
s3: Remove close_fn from idmap_methods
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd/idmap.c')
-rw-r--r--source3/winbindd/idmap.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 76310e02ba..a2a727cdb0 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -153,18 +153,6 @@ NTSTATUS smb_register_idmap(int version, const char *name,
return NT_STATUS_OK;
}
-static int close_domain_destructor(struct idmap_domain *dom)
-{
- NTSTATUS ret;
-
- ret = dom->methods->close_fn(dom);
- if (!NT_STATUS_IS_OK(ret)) {
- DEBUG(3, ("Failed to close idmap domain [%s]!\n", dom->name));
- }
-
- return 0;
-}
-
static bool parse_idmap_module(TALLOC_CTX *mem_ctx, const char *param,
char **pmodulename, char **pargs)
{
@@ -343,8 +331,6 @@ static struct idmap_domain *idmap_init_domain(TALLOC_CTX *mem_ctx,
goto fail;
}
- talloc_set_destructor(result, close_domain_destructor);
-
return result;
fail: