]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#3550, add entryDN definition
authorHoward Chu <hyc@openldap.org>
Mon, 14 Mar 2005 18:58:02 +0000 (18:58 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 14 Mar 2005 18:58:02 +0000 (18:58 +0000)
servers/slapd/schema_prep.c
servers/slapd/slap.h

index b0e100d074c83d5b9680d8a9af22abfbbde5904f..1aa58fa27e439d44b9f0e51a2fbdf87c04960014 100644 (file)
@@ -528,6 +528,15 @@ static struct slap_schema_ad_map {
                offsetof(struct slap_internal_schema, si_ad_collectiveExclusions) },
 #endif
 
+       { "entryDN", "( 1.3.6.1.4.1.4203.666.1.33 NAME 'entryDN' "   
+                       "DESC 'DN of the entry' "
+                       "EQUALITY distinguishedNameMatch "
+                       "SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 "
+                       "SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )",
+               NULL, SLAP_AT_HIDE|SLAP_AT_DYNAMIC,
+               NULL, NULL,
+               NULL, NULL, NULL, NULL, NULL,
+               offsetof(struct slap_internal_schema, si_ad_entryDN) },
        { "entryUUID", "( 1.3.6.1.4.1.4203.666.1.6 NAME 'entryUUID' "   
                        "DESC 'UUID of the entry' "
                        "EQUALITY UUIDMatch "
index f9afb1d8fba0ea9cd7645fdeaffe62bda4e84f97..ff4bc0d5381a578b8fce8624402f60df88c066cd 100644 (file)
@@ -767,6 +767,7 @@ struct slap_internal_schema {
        AttributeDescription *si_ad_subschemaSubentry;
        AttributeDescription *si_ad_collectiveSubentries;
        AttributeDescription *si_ad_collectiveExclusions;
+       AttributeDescription *si_ad_entryDN;
        AttributeDescription *si_ad_entryUUID;
        AttributeDescription *si_ad_entryCSN;
        AttributeDescription *si_ad_namingCSN;