Configuring the LDAP user for Db2 applications

When you use the Microsoft LDAP client, the LDAP user is the same as the operating system user account. However, when you use the IBM® LDAP client, before you use the Db2 database manager, you must configure the LDAP user distinguished name (DN) and password for the current logged on user.

Procedure

To configure the LDAP user distinguished name (DN) and password, use the db2ldcfg utility:
   db2ldcfg -u userDN -w password --> set the user's DN and password
            -r                    --> clear the user's DN and password
For example:
   db2ldcfg -u "cn=Mary Burnnet,ou=Db2 Development,ou=Toronto,o=ibm,c=ca"
            -w password