From: Nikolai Kondrashov Date: Wed, 29 Mar 2017 07:43:14 +0000 (+0300) Subject: Handle connection error in rlm_ldap_cacheable_groupobj X-Git-Tag: release_3_0_14~66^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208681c80e1149de888affdb87f34de0c371db50;p=thirdparty%2Ffreeradius-server.git Handle connection error in rlm_ldap_cacheable_groupobj Closes #1951 --- diff --git a/src/modules/rlm_ldap/groups.c b/src/modules/rlm_ldap/groups.c index 12f34da2ab0..5e0a1819eb6 100644 --- a/src/modules/rlm_ldap/groups.c +++ b/src/modules/rlm_ldap/groups.c @@ -461,8 +461,10 @@ rlm_rcode_t rlm_ldap_cacheable_groupobj(rlm_ldap_t const *inst, REQUEST *request case LDAP_PROC_NO_RESULT: RDEBUG2("No cacheable group memberships found in group objects"); + goto finish; default: + rcode = RLM_MODULE_FAIL; goto finish; }