]> git.sur5r.net Git - openldap/commitdiff
Add namingCSN attribute type
authorKurt Zeilenga <kurt@openldap.org>
Sun, 23 Mar 2003 02:58:36 +0000 (02:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 23 Mar 2003 02:58:36 +0000 (02:58 +0000)
Make SLAP_NVALUES the default.

servers/slapd/schema_prep.c
servers/slapd/slap.h

index d758e1cebbba4494768df674c343b31a4b446a3f..6d6076b1f7032c4e19d7df8352f4d0e2f5b5e592 100644 (file)
@@ -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' "
index 9e747fa5a383c921fb9f941057625a1c47e6eb1d..8ece7820c1af7936fc24d937654b4107d621d78e 100644 (file)
@@ -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