Netscape LDAP directory support and attribute definitions
The supported level for Netscape LDAP Server is Version 4.12, or later.
Within Netscape LDAP Server Version 4.12, or later, the
Netscape Directory Server allows applications to extend the schema
by adding attribute and object class definitions to the following
two files, slapd.user_oc.conf and slapd.user_at.conf.
These two files are located in the <Netscape_install path>\slapd-<machine_name>\config
directory.
Note: If you are using Sun One Directory Server 5.0, refer
to the topic about extending the directory schema for the Sun One
Directory Server.
The Db2® attributes must be added to the slapd.user_at.conf as follows:
############################################################################
#
# IBM Db2 Database
# Attribute Definitions
#
# bin —> binary
# ces —> case exact string
# cis —> case insensitive string
# dn —> distinguished name
#
############################################################################
attribute binProperty 1.3.18.0.2.4.305 bin
attribute binPropertyType 1.3.18.0.2.4.306 cis
attribute cesProperty 1.3.18.0.2.4.307 ces
attribute cesPropertyType 1.3.18.0.2.4.308 cis
attribute cisProperty 1.3.18.0.2.4.309 cis
attribute cisPropertyType 1.3.18.0.2.4.310 cis
attribute propertyType 1.3.18.0.2.4.320 cis
attribute systemName 1.3.18.0.2.4.329 cis
attribute db2nodeName 1.3.18.0.2.4.419 cis
attribute db2nodeAlias 1.3.18.0.2.4.420 cis
attribute db2instanceName 1.3.18.0.2.4.428 cis
attribute db2Type 1.3.18.0.2.4.418 cis
attribute db2databaseName 1.3.18.0.2.4.421 cis
attribute db2databaseAlias 1.3.18.0.2.4.422 cis
attribute db2nodePtr 1.3.18.0.2.4.423 dn
attribute db2gwPtr 1.3.18.0.2.4.424 dn
attribute db2additionalParameters 1.3.18.0.2.4.426 cis
attribute db2ARLibrary 1.3.18.0.2.4.427 cis
attribute db2authenticationLocation 1.3.18.0.2.4.425 cis
attribute db2databaseRelease 1.3.18.0.2.4.429 cis
attribute DCEPrincipalName 1.3.18.0.2.4.443 cis
The Db2 object classes must be added to the slapd.user_oc.conf file as follows:
############################################################################
#
# IBM Db2 Database
# Object Class Definitions
#
############################################################################
objectclass eProperty
oid 1.3.18.0.2.6.90
requires
objectClass
allows
cn,
propertyType,
binProperty,
binPropertyType,
cesProperty,
cesPropertyType,
cisProperty,
cisPropertyType
objectclass eApplicationSystem
oid 1.3.18.0.2.6.84
requires
objectClass,
systemName
objectclass Db2Node
oid 1.3.18.0.2.6.116
requires
objectClass,
db2nodeName
allows
db2nodeAlias,
host,
db2instanceName,
db2Type,
description,
protocolInformation
objectclass Db2Database
oid 1.3.18.0.2.6.117
requires
objectClass,
db2databaseName,
db2nodePtr
allows
db2databaseAlias,
description,
db2gwPtr,
db2additionalParameters,
db2authenticationLocation,
DCEPrincipalName,
db2databaseRelease,
db2ARLibrary
After adding the Db2 schema definition, the Directory Server must be restarted for all changes to be active.