From e74fae45de948402d0b73d4c72748577031d8a58 Mon Sep 17 00:00:00 2001 From: William Brown Date: Mar 13 2020 03:04:57 +0000 Subject: Ticket 50947 - change 00core.ldif objectClasses for openldap migration Bug Description: Some values from rfc2256 are still present in openldap despite being deprecated. We need to support these incase someone has them, and to prevent the openldap_2_389 tool from attempting this migration. Fix Description: Add the missing rfc2256 attributes and values. https://pagure.io/389-ds-base/issue/50947 Author: William Brown Review by: ??? --- diff --git a/ldap/schema/00core.ldif b/ldap/schema/00core.ldif index 2bba414..aa414a8 100644 --- a/ldap/schema/00core.ldif +++ b/ldap/schema/00core.ldif @@ -68,6 +68,13 @@ attributeTypes: ( 2.5.4.0 NAME 'objectClass' # ################################################################################ # +attributeTypes: ( 2.5.4.2 NAME 'knowledgeInformation' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# attributeTypes: ( 2.5.18.3 NAME 'creatorsName' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 @@ -415,6 +422,32 @@ attributeTypes: ( 2.5.4.43 NAME 'initials' # ################################################################################ # +attributeTypes: ( 2.5.4.29 NAME 'presentationAddress' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# +attributeTypes: ( 2.5.4.30 NAME 'supportedApplicationContext' + EQUALITY objectIdentifierMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# +attributeTypes: ( 2.5.4.48 NAME 'protocolInformation' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# +attributeTypes: ( 2.5.4.54 NAME 'dmdName' + SUP name + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# attributeTypes: ( 2.5.4.25 NAME 'internationalISDNNumber' EQUALITY numericStringMatch SUBSTR numericStringSubstringsMatch @@ -627,6 +660,37 @@ objectClasses: ( 2.5.6.11 NAME 'applicationProcess' # ################################################################################ # +objectClasses: ( 2.5.6.12 NAME 'applicationEntity' + SUP top + STRUCTURAL + MUST ( cn $ presentationAddress ) + MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $ description ) + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# +objectClasses: ( 2.5.6.13 NAME 'dSA' + SUP applicationEntity + STRUCTURAL + MAY knowledgeInformation + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# +objectClasses: ( 2.5.6.20 NAME 'dmd' + SUP top + STRUCTURAL + MUST ( dmdName ) + MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ + x121Address $ registeredAddress $ destinationIndicator $ + preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ + telephoneNumber $ internationaliSDNNumber $ + facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ postalAddress $ + physicalDeliveryOfficeName $ st $ l $ description ) + X-ORIGIN 'RFC 2256' ) +# +################################################################################ +# objectClasses: ( 2.5.6.2 NAME 'country' SUP top STRUCTURAL