]> git.sur5r.net Git - openldap/commitdiff
Add comment: old schema is OC less category (abstract, struct, aux).
authorKurt Zeilenga <kurt@openldap.org>
Sun, 23 Jan 2000 20:49:17 +0000 (20:49 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 23 Jan 2000 20:49:17 +0000 (20:49 +0000)
servers/slapd/schemaparse.c

index a0b7954a72af5f192bbbcdb1e99f3c96d7b12b00..e001c982547461fdbc104661c6069af6fa5a80fd 100644 (file)
@@ -68,7 +68,12 @@ 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" ) ) {
+               /*
+                * no way to distinguish "auxiliary" from "structural"
+                * This may lead to future problems.
+                */
                oc->oc_kind = LDAP_SCHEMA_STRUCTURAL;
        }
        for ( i = 2; i < argc; i++ ) {