Extending the Active Directory Schema for LDAP directory services (Windows)
If you plan to use the Lightweight Directory Access Protocol (LDAP) directory server feature with Windows Server 2003, you have to extend the Active Directory schema to contain Db2® object classes and attribute definitions using the db2schex command.
About this task
Extending the directory schema before installing Db2 database products and creating databases provide the following benefits:
- The default Db2 instance, created during the installation, is cataloged as a Db2 node in Active Directory, provided that the installation user ID had sufficient privileges to write to Active Directory.
- Any databases created after installation is automatically cataloged into Active Directory.
To extend the directory schema:
- Log onto any machine that is part of the Windows domain with a Windows user account that has Schema Administration authority.
- Run the db2schex command from the installation
DVD . You can run this command without logging off and logging on
again, as follows:
where x: represents the DVD drive letter.
runas /user:MyDomain\Administrator x:\db2\Windows\utilities\db2schex.exe
When db2schex completes, you can proceed with the installation of your Db2 database product; or if you have already installed Db2 database products or created databases, you have to manually register the node and catalog the databases. For more information, see the
What to do next
Enabling LDAP support after Db2 installation is completetopic.