summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ldap.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-08 00:07:29 +0100
committerMichael Adam <obnox@samba.org>2011-01-02 12:51:54 +0100
commit510bf2d59175cb4aabf26c0dc1afcb6873955cb4 (patch)
treef27017ad386910d1ff457b03e05ca891ced4bece /source3/winbindd/idmap_ldap.c
parentf83fa1ec20fd398dbbe5fab0e25f27d9697df91b (diff)
downloadsamba-510bf2d59175cb4aabf26c0dc1afcb6873955cb4.tar.gz
samba-510bf2d59175cb4aabf26c0dc1afcb6873955cb4.tar.bz2
samba-510bf2d59175cb4aabf26c0dc1afcb6873955cb4.zip
s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().
Diffstat (limited to 'source3/winbindd/idmap_ldap.c')
-rw-r--r--source3/winbindd/idmap_ldap.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index b6674ee02b..a957102545 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -239,18 +239,6 @@ done:
return ret;
}
-/*****************************************************************************
- Initialise idmap database.
-*****************************************************************************/
-
-static int idmap_ldap_alloc_close_destructor(struct idmap_ldap_alloc_context *ctx)
-{
- smbldap_free_struct(&ctx->smbldap_state);
- DEBUG(5,("The connection to the LDAP server was closed\n"));
- /* maybe free the results here --metze */
- return 0;
-}
-
/********************************
Allocate a new uid or gid
********************************/