]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/passwd.c
Never let ldif_parse_line() return a NULL value with success.
[openldap] / servers / slapd / back-bdb / passwd.c
index 17d54cacc5a733022e1a2d18e0d5cc17a4040e53..4988e2512238ec18fc82af4e06a25b1fde51f57d 100644 (file)
@@ -98,7 +98,7 @@ bdb_exop_passwd(
 
        if( dn.bv_len == 0 ) {
                *text = "No password is associated with the Root DSE";
-               rc = LDAP_OPERATIONS_ERROR;
+               rc = LDAP_UNWILLING_TO_PERFORM;
                goto done;
        }