]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_check.c
Fix previous commit
[openldap] / servers / slapd / schema_check.c
index 8e81ea0e3561bf7966627a27c6ec21351e5f76fa..072460282d0532f0dca19e5dc7ca4ff2f2ea25c8 100644 (file)
@@ -48,7 +48,7 @@ entry_schema_check(
        int subentry = is_entry_subentry( e );
        int collectiveSubentry = 0;
 
-       if( subentry) collectiveSubentry = is_entry_collectiveAttributes( e );
+       if( subentry) collectiveSubentry = is_entry_collectiveAttributeSubentry( e );
 
        *text = textbuf;
 
@@ -70,7 +70,7 @@ entry_schema_check(
 
                if( !collectiveSubentry && is_at_collective( a->a_desc->ad_type ) ) {
                        snprintf( textbuf, textlen,
-                               "'%s' can only appear in collectiveAttributes subentry",
+                               "'%s' can only appear in collectiveAttributeSubentry",
                                type );
                        return LDAP_OBJECT_CLASS_VIOLATION;
                }