From: Kurt Zeilenga Date: Tue, 27 Aug 2002 05:51:35 +0000 (+0000) Subject: Return other. X-Git-Tag: NO_SLAP_OP_BLOCKS~1159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa602e0adc317c9a50bb15d74f63b080b4930744;p=openldap Return other. --- diff --git a/servers/slapd/schema_check.c b/servers/slapd/schema_check.c index b53cd45353..124b9a12bf 100644 --- a/servers/slapd/schema_check.c +++ b/servers/slapd/schema_check.c @@ -152,7 +152,7 @@ entry_schema_check( e->e_dn, textbuf, 0 ); #endif - return LDAP_OBJECT_CLASS_VIOLATION; + return LDAP_OTHER; } /* find the object class attribute */ @@ -189,7 +189,7 @@ entry_schema_check( } else if ( sc != oc ) { snprintf( textbuf, textlen, - "structuralObjectClass modification from '%s' to '%s' not allowed", + "structural object class modification from '%s' to '%s' not allowed", asc->a_vals[0].bv_val, nsc.bv_val ); return LDAP_NO_OBJECT_CLASS_MODS; }