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

Import textbuf bug fix

parent 12b09f77
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,8 @@ entry_schema_check(
AttributeDescription *ad_objectClass = slap_schema.si_ad_objectClass;
int extensible = 0;
*text = textbuf;
/* check single-valued attrs for multiple values */
for ( a = e->e_attrs; a != NULL; a = a->a_next ) {
/* there should be at least one value */
......@@ -62,8 +64,6 @@ entry_schema_check(
if( !global_schemacheck ) return LDAP_SUCCESS;
*text = textbuf;
/* find the object class attribute - could error out here */
if ( (aoc = attr_find( e->e_attrs, ad_objectClass )) == NULL ) {
Debug( LDAP_DEBUG_ANY, "No objectClass for entry (%s)\n",
......
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