LDAP information is subject to change, so it is necessary to refresh the LDAP entries in the local and node directories. The local database and node directories are used to cache the entries in LDAP.
To refresh the database entries that refer to LDAP resources, use the following command:
db2 refresh ldap database directory
To refresh the node entries on the local machine that refer to LDAP resources, use the following command:
db2 refresh ldap node directory
As part of the refresh, all the LDAP entries that are saved in the local database and node directories are removed. The next time that the application accesses the database or node, it will read the information directly from LDAP and generate a new entry in the local database or node directory.
To ensure the refresh is done in a timely way, you may want to: