Change to propper operator in assigning Auth-Type to LDAP
authorpam <pam>
Fri, 2 Nov 2001 10:24:36 +0000 (10:24 +0000)
committerpam <pam>
Fri, 2 Nov 2001 10:24:36 +0000 (10:24 +0000)
bug noted by Kostas Kalevras <kkalev@noc.ntua.gr>

src/modules/rlm_ldap/rlm_ldap.c

index a26c0f0..eff667d 100644 (file)
@@ -572,7 +572,7 @@ ldap_authorize(void *instance, REQUEST * request)
         * specified
         */
        if (pairfind(*check_pairs, PW_AUTHTYPE) == NULL)
-               pairadd(check_pairs, pairmake("Auth-Type", "LDAP", T_OP_CMP_EQ));
+               pairadd(check_pairs, pairmake("Auth-Type", "LDAP", T_OP_EQ));
 
 
        DEBUG("rlm_ldap: looking for reply items in directory...");