LDAP connections

During a database connection, the client accesses the LDAP directory to retrieve the required database and protocol information. The client uses this information to connect to the database.

In an LDAP-enabled environment, the directory information about Db2® servers and databases is stored in the LDAP directory. When a new database is created, the database is automatically registered in the LDAP directory.

Use the Db2 CLP commands in the LDAP environment to:

  • Manually catalog a database in the LDAP directory.
  • Register a database cataloged in LDAP as an ODBC data source.
  • Configure CLI/ODBC information about the LDAP server.
  • Remove a database cataloged in the LDAP directory.