mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Return other.
This commit is contained in:
parent
6ec6115119
commit
aa602e0adc
@ -152,7 +152,7 @@ entry_schema_check(
|
|||||||
e->e_dn, textbuf, 0 );
|
e->e_dn, textbuf, 0 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return LDAP_OBJECT_CLASS_VIOLATION;
|
return LDAP_OTHER;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* find the object class attribute */
|
/* find the object class attribute */
|
||||||
@ -189,7 +189,7 @@ entry_schema_check(
|
|||||||
|
|
||||||
} else if ( sc != oc ) {
|
} else if ( sc != oc ) {
|
||||||
snprintf( textbuf, textlen,
|
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 );
|
asc->a_vals[0].bv_val, nsc.bv_val );
|
||||||
return LDAP_NO_OBJECT_CLASS_MODS;
|
return LDAP_NO_OBJECT_CLASS_MODS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user