LDAP-UX Client Services B.04.10 with Microsoft Windows Active Directory Server Administrator's Guide

<oMSyntax>22</oMSyntax>
</equivSyntax>
<subSyntax>
<syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
<desc>Directory String syntax.</desc>
</subSyntax>
</syntaxes>
</syntaxesReplacements>
</mappingPolicies>
How Does ldapschema Map Unsupported Matching Rules and LDAP Syntaxes
If any mapping rules or the syntax used by an attribute type are not supported on the LDAP
server, the ldapschema utility checks if the appropriate substitution rule is specified in the
/etc/opt/ldapux/map-rules.xml file. If it is specified, ldapschema locates the first
available matching rule or syntax supported on the LDAP server, and uses it in the attribute type
definition instead. If the substitution rule is not specified, or none of the substitution matching
rules or syntaxes are supported on the LDAP directory server, ldapschema checks if the default
substitution can be used.
The “vendor”, “versionGreaterOrEqual” and “versionLessThan” XML attributes can
be used to specify directory-specific information stored in <defaultMatchingRule> and
<defaultSyntax> tags. If the default substitution is not supported on the LDAP server, the
attribute type cannot be added to the LDAP directory server schema.
Examples
For example, an attribute type with IA5String syntax (1.3.6.1.4.1.1466.115.121.1.26)
is installed on Windows ADS, where this IA5 String syntax is not supported. ldapschema will
try using the first specified equivalent or substitution syntax supported by the target LDAP
directory server. The specified equivalent syntax of 2.5.5.5 syntax with the oMSyntax value
of 22 is supported on windows ADS and will be used in place of the original syntax value.
As another example, assume an attribute type with a Boolean equality rule is being installed on
the LDAP server where this matching rule is not supported. Since no substitution policy is
specified for this matching rule in the example above, the default substitution matching rule,
caseIgnoreMatch, would be used instead, if the LDAP server supports it. If the LDAP server
does not support caseIgnoreMatch, that attribute type cannot be installed on the LDAP server,
unless its definition is modified to use another supported equality matching rule.
If the s option is specified in the ldapsechema tool, syntax substitution in attribute types is
disabled. Any attribute types with unsupported LDAP syntaxes will not be added to the LDAP
directory server schema. The m option with the ldapschema tool disables matching rule
substitution. Any attribute types with unsupported matching rules will not be added to the
LDAP directory server schema.
Schema Extension Utility 175