/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
}
/* it's a REALLY bad idea to disable schema checks */
- if( !SLAPD_GLOBAL(schemachecking) ) return LDAP_SUCCESS;
+ if( !global_schemacheck ) return LDAP_SUCCESS;
/* find the structural object class attribute */
asc = attr_find( e->e_attrs, ad_structuralObjectClass );
}
}
}
- } else if ( SLAPD_GLOBAL(disallows) & SLAP_DISALLOW_AUX_WO_CR ) {
+ } else if ( global_disallows & SLAP_DISALLOW_AUX_WO_CR ) {
k = -1;
} else {
k = 0;
}
if( extensible ) {
+ *text = NULL;
return LDAP_SUCCESS;
}
}
}
+ *text = NULL;
return LDAP_SUCCESS;
}
return LDAP_OBJECT_CLASS_VIOLATION;
}
+ *text = NULL;
+
return LDAP_SUCCESS;
}