"Success",
"Out of memory",
"ObjectClass not found",
- "ObjectClass inappropriate SUPerior",
- "ObjectClass operational",
+ "user-defined ObjectClass includes operational attributes",
+ "user-defined ObjectClass has inappropriate SUPerior",
"Duplicate objectClass",
"AttributeType not found",
+ "AttributeType inappropriate matching rule",
"AttributeType inappropriate USAGE",
"AttributeType inappropriate SUPerior",
"AttributeType SYNTAX or SUPerior required",
"Duplicate attributeType",
"MatchingRule not found",
+ "MatchingRule incomplete",
"Duplicate matchingRule",
"Syntax not found",
- "Syntax required",
"Duplicate ldapSyntax",
"OID or name required",
"Qualifier not supported",
char *
scherr2str(int code)
{
- if ( code < 0 || SLAP_SCHERR_LAST < code ) {
+ if ( code < 0 || SLAP_SCHERR_LAST <= code ) {
return "Unknown error";
} else {
return err2text[code];