diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-06 12:02:05 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-03-06 13:37:13 +0100 |
commit | 233c8bca3bfda4d09d458b842873621a7ffe5e91 (patch) | |
tree | e4aad11c50487355e07aecefed6e9cc6191ceb3b /source3/winbindd/idmap.c | |
parent | 82785957f0eca5722914ac0607ba2b3a53198d58 (diff) | |
download | samba-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.c | 14 |
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: |