From: Jong Hyuk Choi Date: Fri, 22 Aug 2003 21:24:03 +0000 (+0000) Subject: Schema definition for contextCSN X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~786 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd9eab0e304b4ecc829da38cd448d716077368a6;p=openldap Schema definition for contextCSN --- diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c index 86e7652af4..a9ddbd09e8 100644 --- a/servers/slapd/schema_prep.c +++ b/servers/slapd/schema_prep.c @@ -238,11 +238,13 @@ static struct slap_schema_oc_map { "MAY syncreplCookie )", 0, SLAP_OC_OPERATIONAL|SLAP_OC_HIDE, offsetof(struct slap_internal_schema, si_oc_syncConsumerSubentry) }, +#endif +#ifdef LDAP_SYNC { "syncProviderSubentry", "( 1.3.6.1.4.1.4203.666.3.6 " "NAME 'syncProviderSubentry' " "DESC 'Persistent Info for SyncRepl Producer' " "AUXILIARY " - "MAY syncreplCookie )", + "MAY contextCSN )", 0, SLAP_OC_OPERATIONAL|SLAP_OC_HIDE, offsetof(struct slap_internal_schema, si_oc_syncProviderSubentry) }, #endif @@ -434,6 +436,19 @@ static struct slap_schema_ad_map { NULL, NULL, NULL, NULL, NULL, offsetof(struct slap_internal_schema, si_ad_syncreplCookie) }, #endif +#ifdef LDAP_SYNC + { "contextCSN", "( 1.3.6.1.4.1.4203.666.1.25 " + "NAME 'contextCSN' " + "DESC 'the largest committed CSN of a context' " + "EQUALITY octetStringMatch " + "ORDERING octetStringOrderingMatch " + "SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{64} " + "SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )", + NULL, SLAP_AT_HIDE, + NULL, NULL, + NULL, NULL, NULL, NULL, NULL, + offsetof(struct slap_internal_schema, si_ad_contextCSN) }, +#endif /* root DSE attributes */ { "altServer", "( 1.3.6.1.4.1.1466.101.120.6 NAME 'altServer' "