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.
Procedure
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:
runas /user:MyDomain\Administrator x:\db2\Windows\utilities\db2schex.exe
where x: represents
the DVD drive letter.
What to do next
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
"Enabling LDAP support after DB2 installation is complete" topic.