]> git.sur5r.net Git - openldap/commitdiff
disallow bind_simple_unprotected requires ssf > 1
authorKurt Zeilenga <kurt@openldap.org>
Thu, 10 Oct 2002 03:42:47 +0000 (03:42 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 10 Oct 2002 03:42:47 +0000 (03:42 +0000)
servers/slapd/bind.c

index 646b72f657ceec50b444242951c51e4818898a6e..1129fa6f43793cff77935abd925be92935440582 100644 (file)
@@ -419,7 +419,7 @@ do_bind(
                        goto cleanup;
 
                } else if (( global_disallows & SLAP_DISALLOW_BIND_SIMPLE_UNPROTECTED )
-                       && ( op->o_ssf < global_ssf_set.sss_ssf ))
+                       && ( op->o_ssf <= 1 ))
                {
                        rc = LDAP_CONFIDENTIALITY_REQUIRED;
                        text = "unwilling to perform simple authentication "