LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

Table 33 Supported directory servers
ds_typeType of directory server
hpdsHP-UX Directory Server
adsWindows Active Directory Server
rhdsRed Hat Directory Server
The ldapschema utility might work with other types of LDAPv3 directory
servers, although its behavior has not been verified.
Table 34 lists names of LDAPv3 directory servers which are reserved for
future support:
Table 34 Reserved LDAPv3 directory servers
ds_typeType of directory server
openldapopenLDAP Directory Server
oracleOracle Information Directory
eDirectoryNovell e-Directory Server
ibmIBM Tivoli Directory Server
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
362 Command and tool reference