Skip to content
Snippets Groups Projects
Commit ae4c85b8 authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

Fudge oc_kind on synthesized objectclasses so that they are STRUCTURAL

instead of ABSTRACT.
parent 2b69b706
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
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