Fudge oc_kind on synthesized objectclasses so that they are STRUCTURAL

instead of ABSTRACT.
This commit is contained in:
Julio Sánchez Fernández 1999-05-31 15:17:42 +00:00
parent 2b69b706de
commit ae4c85b84f

View file

@ -56,6 +56,9 @@ parse_oc_old(
oc->oc_names = ch_calloc( 2, sizeof(char *) );
oc->oc_names[0] = ch_strdup( argv[1] );
oc->oc_names[1] = NULL;
if ( strcasecmp( oc->oc_names[0], "top" ) ) {
oc->oc_kind = LDAP_SCHEMA_STRUCTURAL;
}
for ( i = 2; i < argc; i++ ) {
/* required attributes */
if ( strcasecmp( argv[i], "requires" ) == 0 ) {