Really should be invalid
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 9 Nov 2016 15:09:21 +0000 (10:09 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 9 Nov 2016 15:10:30 +0000 (10:10 -0500)
src/modules/rlm_ldap/ldap.c

index 6aa9ee8..d83f0a0 100644 (file)
@@ -1174,7 +1174,7 @@ char const *rlm_ldap_find_user(rlm_ldap_t const *inst, REQUEST *request, ldap_ha
                                ldap_memfree(dn);
                        }
                        REXDENT();
-                       *rcode = RLM_MODULE_FAIL;
+                       *rcode = RLM_MODULE_INVALID;
                        goto finish;
                }
        }