]> git.sur5r.net Git - openldap/commitdiff
Default objectClass kind should be STRUCTURAL
authorKurt Zeilenga <kurt@openldap.org>
Mon, 22 Jan 2001 08:06:48 +0000 (08:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 22 Jan 2001 08:06:48 +0000 (08:06 +0000)
libraries/libldap/schema.c

index 9104d63d2fe1a171cbee4fc6cdfbe3f131320e47..06c41b094d6f1bfa7e75be62a11346b90d5d8961 100644 (file)
@@ -1977,6 +1977,7 @@ ldap_str2objectclass( const char * s, int * code, const char ** errp, const int
                *code = LDAP_SCHERR_OUTOFMEM;
                return NULL;
        }
+       oc->oc_kind = LDAP_SCHEMA_STRUCTURAL;
 
        kind = get_token(&ss,&sval);
        if ( kind != TK_LEFTPAREN ) {