Set up Sun Java System Directory Server

 

+
Search Tips   |   Advanced Search

 

Use this information to set up Sun Java System Directory Server.

You are here

  1. LDAP user registry
  2. Installing Sun Java System Directory Server
  3. Setting up Sun Java System Directory Server (Current task)
  4. Configuring Sun Java System Directory Server for non-realm support
  5. Configuring Sun Java System Directory Server for realm support
  6. Additional LDAP configuration
  7. Verifying LDAP

IBM WebSphere Portal has been tested to support the LDAP server provided with Sun Java System Directory Server. See the WebSphere Portal requirements for supported versions.

 

Creating a new user as the portal administrator

The following steps can be used if the portal administrative user does not exist in the directory.

  1. If you choose to use the LDIF file, locate PortalUsers.ldif in the root directory on the WebSphere Portal disc, and open it in a text editor.

    • The PortalUsers.ldif file is provided as a working example and needs to be adapted appropriately to work with the LDAP.

    • If you have configured IBM DB2 Content Manager, there is a separate LDIF file. Use ContentUsers.ldif for the DB2 Content Manager group and user IDs.

  2. Replace all occurrences of o=yourco.com with the suffix that you are using. Also, replace any prefixes and suffixes that are unique to the LDAP directory. We can specify user names other than wpsadmin and wpsbind. For security reasons, you should specify non-trivial passwords for these administrator accounts because it is easier to specify them now than to change them after installation. Save the changes.

  3. Follow the instructions provided with Sun Java System Directory Server to import PortalUsers.ldif.

    Importing the PortalUsers.ldif file could overwrite existing user data.

  4. Stop and restart the LDAP server.

  5. After the portal installation, if you did not specify non-trivial passwords for the administrator IDs in the LDIF file, IBM recommends that you change the passwords for these user IDs.

 

Example of the Sun Java System Directory Server LDAP structure

The following schema is an example for Sun Java System Directory Server and is referenced throughout the documentation for consistency. The example below is designed to help you determine the appropriate values when configuring WebSphere Portal to work with the specific directory layout. The values shown match the default values for this LDAP. If you have an existing schema that varies from this example, replace the example values with the values. For instance, cn is shown as the group prefix; replace cn with the group prefix for the schema.

Sun ONE LDAP structure

  • LDAP suffix="o=yourco.com"
  • user prefix="uid"
  • user suffix="ou=people"
  • group prefix="cn"
  • group suffix="ou=groups"
  • Portal administrator DN="uid=wpsadmin,ou=people,ou=yourco.com"
  • Portal administrator group="cn=wpsadmins,ou=groups,o=yourco.com"

 

Next steps

You have completed this step. Continue to the next step by choosing one of the following topics:

 

Parent topic:

Set up LDAP