Configures the Lightweight Directory Access Protocol (LDAP) user distinguished name (DN) and password for the current logon user in an LDAP environment using an IBM LDAP client.
Authorization
none
Required Connection
None
Command Syntax
>>-db2ldcfg----+--u--user's Distinguished Name---w--password--+->< '--r-------------------------------------------'
Command Parameters
Usage Notes
In an LDAP environment using an IBM LDAP client, the default LDAP user's DN and password can be configured for the current logon user. Once configured, the LDAP user's DN and password are saved in the user's environment and used whenever DB2 accesses the LDAP directory. This eliminates the need to specify the LDAP user's DN and password when issuing the LDAP command or API. However, if the LDAP user's DN and password are specified when the command or API is issued, the default settings will be overridden.
This command can only be run when using an IBM LDAP client. On a Microsoft LDAP client, the current logon user's credentials will be used.