]> git.sur5r.net Git - openldap/commitdiff
ITS#7197 fix olcTLSVerifyClient keywords
authorHoward Chu <hyc@openldap.org>
Wed, 4 Apr 2012 20:25:09 +0000 (13:25 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 4 Apr 2012 20:25:09 +0000 (13:25 -0700)
servers/slapd/config.c

index 213a077bc33e948b8c2695ada38c3335c56ad687..e2427a6253dad67de155cc344f9b9aedef23689c 100644 (file)
@@ -1259,9 +1259,11 @@ static slap_verbmasks crlkeys[] = {
 
 static slap_verbmasks vfykeys[] = {
                { BER_BVC("never"),     LDAP_OPT_X_TLS_NEVER },
-               { BER_BVC("demand"),    LDAP_OPT_X_TLS_DEMAND },
+               { BER_BVC("allow"),     LDAP_OPT_X_TLS_ALLOW },
                { BER_BVC("try"),       LDAP_OPT_X_TLS_TRY },
+               { BER_BVC("demand"),    LDAP_OPT_X_TLS_DEMAND },
                { BER_BVC("hard"),      LDAP_OPT_X_TLS_HARD },
+               { BER_BVC("true"),      LDAP_OPT_X_TLS_HARD },
                { BER_BVNULL, 0 }
        };
 #endif