Extending the directory schema for Sun One Directory Server
The Sun One Directory Server is also known as the Netscape or iPlanet directory server.
To have the Sun One Directory Server work in your environment, add the 60ibmdb2.ldif file to the following directory:
On Windows, if you have iPlanet installed in C:\iPlanet\Servers, add the previously mentioned file to .\sldap-<machine_name>\config\schema.
On UNIX, if you have iPlanet installed in /usr/iplanet/servers, add the previously mentioned file to ./slapd-<machine_name>/config/schema.
The following is the contents of the file:
############################################################################
# IBM Db2 Database
############################################################################
dn: cn=schema
############################################################################
# Attribute Definitions (Before V8.2)
############################################################################
attributetypes: ( 1.3.18.0.2.4.305 NAME 'binProperty'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.306 NAME 'binPropertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.307 NAME 'cesProperty'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.308 NAME 'cesPropertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.309 NAME 'cisProperty'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.310 NAME 'cisPropertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.320 NAME 'propertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.329 NAME 'systemName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.419 NAME 'db2nodeName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.420 NAME 'db2nodeAlias'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.428 NAME 'db2instanceName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.418 NAME 'db2Type'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.421 NAME 'db2databaseName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.422 NAME 'db2databaseAlias'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.426 NAME 'db2additionalParameters'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.427 NAME 'db2ARLibrary'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.425 NAME 'db2authenticationLocation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.429 NAME 'db2databaseRelease'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.443 NAME 'DCEPrincipalName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.423 NAME 'db2nodePtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.424 NAME 'db2gwPtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
############################################################################
# Attribute Definitions (V8.2 and later)
############################################################################
attributetypes: ( 1.3.18.0.2.4.3092 NAME 'db2altgwPtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.3093 NAME 'db2altnodePtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'IBM DB2' )
############################################################################
# Object Class Definitions
# Db2 Database for V8.2 has the above two new optional attributes.
############################################################################
objectClasses: ( 1.3.18.0.2.6.90 NAME 'eProperty'
SUP top STRUCTURAL MAY ( cn $ propertyType $ binProperty
$ binPropertyType $ cesProperty $ cesPropertyType $ cisProperty
$ cisPropertyType ) X-ORIGIN 'IBM DB2' )
objectClasses: ( 1.3.18.0.2.6.84 NAME 'eApplicationSystem'
SUP top STRUCTURAL MUST systemName
X-ORIGIN 'IBM DB2' )
objectClasses: ( 1.3.18.0.2.6.116 NAME 'DB2Node'
SUP top STRUCTURAL MUST db2nodeName MAY ( db2instanceName $ db2nodeAlias
$ db2Type $ description $ host $ protocolInformation )
X-ORIGIN 'IBM DB2' )
objectClasses: ( 1.3.18.0.2.6.117 NAME 'DB2Database'
SUP top STRUCTURAL MUST (db2databaseName $ db2nodePtr ) MAY
( db2additionalParameters $ db2altgwPtr $ db2altnodePtr $ db2ARLibrary
$ db2authenticationLocation $ db2databaseAlias $ db2databaseRelease
$ db2gwPtr $ DCEPrincipalName $ description )
X-ORIGIN 'IBM DB2' )
The 60ibmdb2.ldif and 60ibmdb2.readmefiles can be found at URL: ftp://ftp.software.ibm.com/ps/products/db2/tools/ldap
After adding the Db2® schema definition, the Directory Server must be restarted for all changes to be active.