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
- 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
What to do next
Enabling LDAP support after Db2 installation is completetopic.