X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fschema_prep.c;h=43c2871bf38808f3edd32fb183b96a9541ca2036;hb=f89308915aabff352eb390a1e58a71127b7ebd26;hp=e10076f94de789957e5598c30be3519b251f9670;hpb=64619bed946447d104a85cc30f21ab08731f64bb;p=openldap diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c index e10076f94d..43c2871bf3 100644 --- a/servers/slapd/schema_prep.c +++ b/servers/slapd/schema_prep.c @@ -165,7 +165,7 @@ static struct slap_schema_oc_map { "MAY ( dITStructureRules $ nameForms $ ditContentRules $ " "objectClasses $ attributeTypes $ matchingRules $ " "matchingRuleUse ) )", - subentryObjectClass, + subentryObjectClass, 0, offsetof(struct slap_internal_schema, si_oc_subschema) }, { "monitor", "( 1.3.6.1.4.1.4203.666.3.2 NAME 'monitor' " "DESC 'OpenLDAP system monitoring' " @@ -183,7 +183,7 @@ static struct slap_schema_oc_map { "SUP top AUXILIARY )", dynamicObjectClass, 0, offsetof(struct slap_internal_schema, si_oc_dynamicObject) }, - { NULL, 0 } + { NULL, NULL, NULL, 0, 0 } }; static AttributeTypeSchemaCheckFN rootDseAttribute; @@ -536,10 +536,9 @@ static AttributeType slap_at_undefined = { NULL, /* subtypes */ NULL, NULL, NULL, NULL, /* matching rules */ NULL, /* syntax (this may need to be defined) */ - (AttributeTypeSchemaCheckFN *) 0, /* schema check function */ - 0, /* schema check flags */ - NULL, /* attribute description */ - NULL /* next */ + (AttributeTypeSchemaCheckFN *) 0, 0, /* schema check function/mask */ + NULL, /* next */ + NULL /* attribute description */ /* mutex (don't know how to initialize it :) */ };