Extends the Microsoft Active Directory schema to include the DB2® object classes and attribute definitions that you require to use the Lightweight Directory Access Protocol (LDAP) directory server feature with Windows Server 2003 and later.
You should run this command before installing DB2 products and creating databases otherwise you have to manually register the node and catalog the databases. For more information, see the "Extending the Active Directory Schema for LDAP directory services (Windows)" topic.
The db2schex command is included on the product DVD. The location of this command on the DVD is in the path x:\db2\windows\utilities, where x: specifies the DVD drive.
To update the Active Directory schema, you must be a member of the Schema Administrators group or have been delegated the rights to update the schema.
Access to a Windows Domain Controller server in the target domain.
>>-db2schex--+----------------------------+--+-----+--+-----+---> '- -b--bindDN-- -w--password-' '- -k-' '- -u-' >--+---------------+------------------------------------------->< '- -x--filename-'
db2schex
db2schex -b "cn=A_Name,dc=toronto1,dc=ibm,dc=com" -w password
or, db2schex -b Administrator -w password
db2schex -u
db2schex -u -k
If bindDN and password are not specified, db2schex binds as the currently logged in user.
The bindDN parameter can be specified as a Windows username.