Add namingCSN attribute type

Make SLAP_NVALUES the default.
This commit is contained in:
Kurt Zeilenga 2003-03-23 02:58:36 +00:00
parent 1b37568b00
commit 91a2fb1c96
2 changed files with 3 additions and 2 deletions

View File

@ -473,7 +473,7 @@ static struct slap_schema_ad_map {
"SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )", "SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )",
NULL, SLAP_AT_HIDE, NULL, SLAP_AT_HIDE,
NULL, NULL, NULL, NULL, NULL, 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' " { "superiorUUID", "( 1.3.6.1.4.1.4203.666.1.11 NAME 'superiorUUID' "
"DESC 'LCUP/LDUP: UUID of the superior entry' " "DESC 'LCUP/LDUP: UUID of the superior entry' "

View File

@ -36,7 +36,7 @@
#include "ldap_queue.h" #include "ldap_queue.h"
#ifdef LDAP_DEVEL #ifdef LDAP_DEVEL
/* #define SLAP_NVALUES 1 */ #define SLAP_NVALUES 1
#define SLAP_EXTENDED_SCHEMA 1 #define SLAP_EXTENDED_SCHEMA 1
#endif #endif
@ -728,6 +728,7 @@ struct slap_internal_schema {
AttributeDescription *si_ad_collectiveExclusions; AttributeDescription *si_ad_collectiveExclusions;
AttributeDescription *si_ad_entryUUID; AttributeDescription *si_ad_entryUUID;
AttributeDescription *si_ad_entryCSN; AttributeDescription *si_ad_entryCSN;
AttributeDescription *si_ad_namingCSN;
AttributeDescription *si_ad_superiorUUID; AttributeDescription *si_ad_superiorUUID;
#ifdef LDAP_CACHING #ifdef LDAP_CACHING