From: Arran Cudbard-Bell Date: Wed, 22 Aug 2012 13:50:53 +0000 (+0200) Subject: Update src/modules/rlm_ldap/rlm_ldap.c X-Git-Tag: release_2_2_0~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26f00f4b62777e237e5016cf1afcde63d4dfd9c8;p=thirdparty%2Ffreeradius-server.git Update src/modules/rlm_ldap/rlm_ldap.c Add debug message noting the closure --- diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index 6b733df156e..8a4ac0822ee 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -405,6 +405,7 @@ static inline void ldap_release_conn(int i, ldap_instance *inst) DEBUG(" [%s] ldap_release_conn: Release Id: %d", inst->xlat_name, i); if ((inst->max_uses > 0) && (conns[i].uses >= inst->max_uses)) { if (inst->conns[i].ld){ + DEBUG(" [%s] ldap_release_conn: Hit max usage limit, closing Id: %d", inst->xlat_name, i); ldap_unbind_s(inst->conns[i].ld); } conns[i].bound = 0;