DB2 Version 9.7 for Linux, UNIX, and Windows

Windows Active Directory

The DB2® database servers are published in the Active Directory as the ibm_db2Node objects. The ibm_db2Node object class is a subclass of the ServiceConnectionPoint (SCP) object class.

Each ibm_db2Node object contains protocol configuration information to allow client applications to connect to the DB2 database server. When a new database is created, the database is published in the Active Directory as the ibm_db2Database object under the ibm_db2Node object.

When connecting to a remote database, a DB2 client queries the Active Directory, through the LDAP interface, for the ibm_db2Database object. The protocol communication to connect to the database server (binding information) is obtained from the ibm_db2Node object, which the ibm_db2Database object is created under.

Property pages for the ibm_db2Node and ibm_db2Database objects can be viewed or modified using the Active Directory Users and Computer Management Console (MMC) at a domain controller. To set up the property page, run the regsrv32 command to register the property pages for the DB2 objects as follows:

   regsvr32 %DB2PATH%\bin\db2ads.dll

You can view the objects by using the Active Directory Users and Computer Management Console (MMC) at a domain controller. To get to this administration tool, follow Start-> Program-> Administration Tools-> Active Directory Users and Computer.

Note: You must select Users, Groups, and Computers as containers from the View menu to display the DB2 database objects under the computer objects.
Note: If the DB2 database system is not installed on the domain controller, you can still view the property pages of DB2 database objects by copying the db2ads.dll file from %DB2PATH%\bin and the resource DLL db2adsr.dll from %DB2PATH%\msg\locale-name to a local directory on the domain controller. (The directory where you place these two copied files must be one of those found in the PATH environment variable.) Then, you run the regsvr32 command from the local directory to register the DLL.