LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
Table C-12 Reserved LDAPv3 Directory Servers (continued)
macMAC OS X Directory Server
sunSun One Directory Server
caComputer Associates Directory Server
iPlanetiPlanet Directory Server
-V ds_version The version of the LDAP directory server. The strcasecmp() function
compares the version specified by this –V option and the version defined
in the XML files the ldapschema utility processes. The version specified
by the –V option and the version defined in the XML files must be
consistent. For example, the schema definition file contains the following
object class definition:
<objectClassDefinition>
<oid>1.2.345.6.789</oid>
<name>sampleObject</name>
<must>sampleAttributeA</must>
<must only="rhds"
versionGreaterOrEqual="6.2">sampleAttributeB</must>
<objectClassDefinistion>
If the ldapschema utility is called with <ds_version> set to “6.2.1”,
the sampleObject definition has two mandatory attributes,
sampleAttributeA and sampleAttributeB. The strcasecmp(“6.2.1”,
“6.2”) returns a positive integer, so sampleAttributeB is included in the
definition of the object class sampleObject.
On the other hand, if the ldapschema utility is called with <ds_version>
set to “6.02.1”, the sampleObject definition has only one mandatory
attribute, sampleAttributeA. The strcasecmp(“6.02.1”, “6.2”) returns a
negative integer, so sampleAttributeB is not included in the definition
of the object class sampleObject.
The ldapschema utility ignores <ds_version> if the LDAP directory
server version-specific attributes “versionGreaterOrEqual” and
versionLessThan” are not used in the XML files being processed (i.e.,
the schema definition files, the LDAP directory server definition file and
the mapping rules file). If the XML files include any definitions with
versionGreaterOrEqual” attribute set, strcasecmp() must return
zero or a positive integer to include directory-specific information in the
LDAP schema definition. If the XML files include any definitions with
versionLessThan attribute set, strcasecmp() must return a negative
integer to include directory-specific information in the LDAP schema
definition. Also, versionGreaterOrEqual and versionLessThan
can be used simultaneously to define a range of version of the LDAP
directory server. See “Defining Directory Specific Information”
(page 242)section for details.
Additional Options (Optional)
The following describes a list of options which are optional:
-h hostname
Specifies the LDAP directory server host name or IP address. (Default:
localhost)
-p <port>
Specifies the LDAP directory server TCP port number. (Default: 389 for
regular connections, 636 for SSL connections.)
-D <binddn>
Specifies Distinguished Name (DN) of an administrator who has
permissions to read and modify LDAP directory server schema.
Schema Extension Utility 233