Deregistering the database from the LDAP directory

The database is automatically deregistered from LDAP when the database is dropped, or the owning instance is deregistered from LDAP.

Procedure

To deregister a database from the LDAP directory:
  • From the command line, use the UNCATALOG LDAP DATABASE command:
       db2 uncatalog ldap database dbname
  • From a client application, call the db2LdapUncatalogDatabase API.