ldapschema.1 (2010 09)

l
ldapschema(1) ldapschema(1)
<syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
<desc>Directory String syntax.</desc>
</defaultSyntax>
</defaultSyntaxesReplacements>
<matchingRulesReplacements>
<matchingRules>
<matchingRule>integerMatch</matchingRule>
<subRule>
<matchingRule>numericStringMatch</matchingRule>
</subRule>
</matchingRules>
</matchingRulesReplacements>
<syntaxesReplacements>
<syntaxes>
<syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
<desc>IA5 String syntax.</desc>
<equivSyntax>
<syntax>2.5.5.5</syntax>
<desc>Active Directory IA5 String LDAP Syntax.</desc>
<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>
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/schema/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 if the substitution matching rules or syn-
taxes are not supported on the LDAP server,
ldapschema checks if the default substitution can be used.
Attributes
vendor, versionGreaterOrEqual
, and versionLessThan can be used to specify
directory-specific information stored in
<defaultSubMatchingRule> and <defaultSubSyntax>
tags. If the default substitution is supported on the LDAP server, it is used in the attribute type
definition instead. If even the default substitution is not supported on the LDAP server, the attribute
type cannot be added to the LDAP directory server schema.
For example, an attribute type with IA5String syntax
(1.3.6.1.4.1.1466.115.121.1.26)
is
being installed on ADS, where this syntax oid is not supported.
ldapschema will try using the first
equivalent or substitution syntax supported by the target LDAP server as specified in
/etc/opt/ldapux/schema/map-rules.xml
file. The specified equivalent syntax 2.5.5.5 with
oMSyntax value of 22 is supported on ADS and will be used in place of the original syntax value when
installing this attribute type definition on ADS.
As another example, for instance, attribute type with a
Boolean equality matching 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, caseIg-
noreMatch, 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, 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 dis-
ables matching rule substitution. Any attribute types with unsupported matching rules will not be added
to the LDAP directory server schema.
HP-UX 11i v3: June 2010 Web Release 11 Hewlett-Packard Company 11