diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c index d758e1cebb..6d6076b1f7 100644 --- a/servers/slapd/schema_prep.c +++ b/servers/slapd/schema_prep.c @@ -473,7 +473,7 @@ static struct slap_schema_ad_map { "SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )", NULL, SLAP_AT_HIDE, NULL, NULL, NULL, NULL, NULL, - offsetof(struct slap_internal_schema, si_ad_entryCSN) }, + offsetof(struct slap_internal_schema, si_ad_namingCSN) }, { "superiorUUID", "( 1.3.6.1.4.1.4203.666.1.11 NAME 'superiorUUID' " "DESC 'LCUP/LDUP: UUID of the superior entry' " diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 9e747fa5a3..8ece7820c1 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -36,7 +36,7 @@ #include "ldap_queue.h" #ifdef LDAP_DEVEL -/* #define SLAP_NVALUES 1 */ +#define SLAP_NVALUES 1 #define SLAP_EXTENDED_SCHEMA 1 #endif @@ -728,6 +728,7 @@ struct slap_internal_schema { AttributeDescription *si_ad_collectiveExclusions; AttributeDescription *si_ad_entryUUID; AttributeDescription *si_ad_entryCSN; + AttributeDescription *si_ad_namingCSN; AttributeDescription *si_ad_superiorUUID; #ifdef LDAP_CACHING