summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-09-04 16:45:29 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-05 11:57:22 +0200
commit52828e4cc7f980f9e41fb604270a90b5e197c806 (patch)
tree89baa98861818472079b53f3d58386048c12e017
parent5c3054fbdec7bd82ab4feb2c605139fd53c8743e (diff)
downloadsssd-52828e4cc7f980f9e41fb604270a90b5e197c806.tar.gz
sssd-52828e4cc7f980f9e41fb604270a90b5e197c806.tar.xz
sssd-52828e4cc7f980f9e41fb604270a90b5e197c806.zip
Don't terminate the same connection twice
https://fedorahosted.org/sssd/ticket/1488
-rw-r--r--src/providers/ldap/sdap_id_op.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c
index 034813012..02142103b 100644
--- a/src/providers/ldap/sdap_id_op.c
+++ b/src/providers/ldap/sdap_id_op.c
@@ -842,12 +842,6 @@ int sdap_id_op_done(struct sdap_id_op *op, int retval, int *dp_err_out)
if (current_conn) {
DEBUG(9, ("releasing operation connection\n"));
sdap_id_op_hook_conn_data(op, NULL);
-
- if (current_conn->ops == NULL || current_conn->disconnecting) {
- DEBUG(SSSDBG_TRACE_FUNC, ("Connection is marked for "
- "disconnection, executing ...\n"));
- sdap_id_release_conn_data(current_conn);
- }
}
*dp_err_out = dp_err;