Extending the directory schema for IBM Tivoli Directory Server
If you are using IBM® Tivoli® Directory Server, all the object classes and attributes that are required by the Db2® database before Version 8.2 are included in the base schema.
Run the following command to extend the base schema with new Db2 database attributes introduced in Version 8.2, and later:
ldapmodify -c -h machine_name:389 -D dn -w password -f altgwnode.ldif
The following is the content of the altgwnode.ldif file:
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (
1.3.18.0.2.4.3092
NAME 'db2altgwPtr'
DESC 'DN pointer to Db2 alternate gateway (node) object'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12)
-
add: ibmattributetypes
ibmattributetypes: (
1.3.18.0.2.4.3092
DBNAME ('db2altgwPtr' 'db2altgwPtr')
ACCESS-CLASS NORMAL
LENGTH 1000)
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (
1.3.18.0.2.4.3093
NAME 'db2altnodePtr'
DESC 'DN pointer to Db2 alternate node object'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12)
-
add: ibmattributetypes
ibmattributetypes: (
1.3.18.0.2.4.3093
DBNAME ('db2altnodePtr' 'db2altnodePtr')
ACCESS-CLASS NORMAL
LENGTH 1000)
dn: cn=schema
changetype: modify
replace: objectclasses
objectclasses: (
1.3.18.0.2.6.117
NAME 'DB2Database'
DESC 'DB2 database'
SUP cimSetting
MUST ( db2databaseName $ db2nodePtr )
MAY ( db2additionalParameters $ db2altgwPtr $ db2altnodePtr
$ db2ARLibrary $ db2authenticationLocation $ db2databaseAlias
$ db2databaseRelease $ db2gwPtr $ DCEPrincipalName ) )
The altgwnode.ldif and altgwnode.readme files 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.