From: Howard Chu Date: Mon, 14 Mar 2005 18:58:02 +0000 (+0000) Subject: Fix ITS#3550, add entryDN definition X-Git-Tag: OPENLDAP_REL_ENG_2_2_24~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e65e0ccc18ec1ec87fd9f3a2400357d25324025;p=thirdparty%2Fopenldap.git Fix ITS#3550, add entryDN definition --- diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c index b0e100d074..1aa58fa27e 100644 --- a/servers/slapd/schema_prep.c +++ b/servers/slapd/schema_prep.c @@ -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 " diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index f9afb1d8fb..ff4bc0d538 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -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;