Using command line

You can issue the following command to update the DB2® password.

About this task

ldapmodify -h <ldaphost> -p <ldap port> -D <bindDN> -w <password> -f <filename> 

where filename contains: 

dn:cn=Directory, cn=RDBM Backends, cn=IBM Directory, cn=Schemas, cn=Configuration
changetype: modify 
replace: ibm-slapdDbUserPw 
ibm-slapdDbUserPw: <password value to be set>
Issue the readConfig extended operation to update the password being used by the monitoring function. To do this, issue the following command:
ldapexop -op readconfig -scope entire
To enable DB2 password monitoring, issue the following command-:
ldapmodify -h <ldaphost> -p <ldap port> -D <bindDN> -w <password> -f <filename> 

where filename contains: 

dn:cn=Directory, cn=RDBM Backends, cn=IBM Directory, cn=Schemas, cn=Configuration 
changetype: modify 
replace: ibm-slapdDbPwMonIntervalMins 
ibm-slapdDbPwMonIntervalMins: <value to be set in minutes>
Note: The directory server instance will be modified to periodically monitor by default every 24 hours/1440 minutes, or as specified by the ibm-slapdDbPwMonIntervalMins attribute in the configuration file. If the ibm-slapdDbPwMonIntervalMins attribute is set to zero, then no monitoring will be done by the server.