"Objectclass not found",
"Attribute type not found",
"Duplicate objectclass",
- "Duplicate attributetype"
+ "Duplicate attributetype",
+ "Duplicate syntax",
+ "Duplicate matchingrule",
+ "OID or name required",
+ "Syntax or superior required",
+ "Matchingrule not found",
+ "Syntax not found",
+ "Syntax required"
};
char *
char last;
LDAP_OBJECT_CLASS *oc;
int code;
- char *err;
+ const char *err;
char **namep;
oc = (LDAP_OBJECT_CLASS *) ch_calloc( 1, sizeof(LDAP_OBJECT_CLASS) );
{
LDAP_OBJECT_CLASS *oc;
int code;
- char *err;
+ const char *err;
oc = ldap_str2objectclass(line,&code,&err);
if ( !oc ) {
{
LDAP_ATTRIBUTE_TYPE *at;
int code;
- char *err;
+ const char *err;
at = ldap_str2attributetype(line,&code,&err);
if ( !at ) {