Skip to content
Snippets Groups Projects
Commit aa602e0a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Return other.

parent 6ec61151
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment