]> git.sur5r.net Git - openldap/commitdiff
use strongAuthRequired instead of operationsError to indicate
authorKurt Zeilenga <kurt@openldap.org>
Fri, 26 Jul 2002 15:29:36 +0000 (15:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 26 Jul 2002 15:29:36 +0000 (15:29 +0000)
authentication required before modification.

servers/slapd/backend.c

index 5d14ba91d4c2e82a2255d7617ded1d5110a7290e..8fb2e9a5223c4e9e03df6f1f48f3754e92a56e5b 100644 (file)
@@ -909,7 +909,7 @@ backend_check_restrictions(
 
                        if( op->o_ndn.bv_len == 0 ) {
                                *text = "modifications require authentication";
-                               return LDAP_OPERATIONS_ERROR;
+                               return LDAP_STRONG_AUTH_REQUIRED;
                        }
                }
        }