]> git.sur5r.net Git - openldap/commitdiff
use more appropriate error code
authorPierangelo Masarati <ando@openldap.org>
Sat, 26 Oct 2002 10:05:35 +0000 (10:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 26 Oct 2002 10:05:35 +0000 (10:05 +0000)
servers/slapd/backend.c

index a54225e6bbe89d6d26b7c22afd424c310ec66f25..124ec7c42274eea6f3849fb79cd1eb35bde903c9 100644 (file)
@@ -980,7 +980,7 @@ backend_check_restrictions(
                        if ( ! ( conn->c_listener->sl_perms & S_IXUSR ) ) {
                                /* no "x" mode means bind required */
                                *text = "bind required on this listener";
-                               return LDAP_CONFIDENTIALITY_REQUIRED;
+                               return LDAP_STRONG_AUTH_REQUIRED;
                        }
                }