Set up the LDAP Server
We can use the Security Directory Server to set up a sample environment. To set up, identify a container where the object class with user ID and password is found or created.
Procedure
- Define the suffix.
- Select Start > Programs > IBM Security Directory Server x.x > Directory Configuration.
- Select Manage suffixes from the left pane.
- In the Suffix DN field add the suffix under which you store the password information. For example, o=ibm,c=us.
- Click Add. The new suffix is shown in the Current suffix DNs list.
- Click OK.
- Close the Directory Configuration tool.
- Add the suffix data.
- Restart the IBM Security Directory Server.
- From the IBM Security Directory Server Web Administration Tool, select Directory management > Manage entries.
- Click Add.
- Select organization from the structural object class list.
- Click Next.
- From the Select auxiliary object classes window, click Next.
- From the Enter the attributes window, clear the value in the Parent DN field.
- Specify the suffix name into the Relative DN field. For example, o=ibm,c=us.
- Enter the organization name into the o field (ibm in the previous example).
- Click Finish.
- Add the domain object.
- From the IBM Security Directory Server Web Administration Tool, select Directory management > Manage entries.
- Select the suffix that are previously created in the previous step, that is, o=ibm, c=us.
- Click Add.
- Select domain from the structural object class list.
- Click Next.
- In the Select auxiliary object classes window, click Next.
- Enter the domain name in the Relative DN field. For example, dc=mydomain.
- Enter the domain name in the dc field (mydomain in the previous example).
- Click Finish.
Note: The domain and suffix entered must also be included in the pwsync.props file along with the other information. For configuration details, see Configuration of LDAP Password Store.
- Define the ibm-diPerson object. From a system with IBM Security Directory Server client, run the following command from the install_directory as one line:
ldapmodify -c -h LDAP Hostname -D admin DN -w admin PW -f TDI_install_dir/pwd_plugins/etc/ibm-diPerson_oc.ldif
Note: You might see the following messages:
- Attribute type ’1.3.18.0.2.4.155’ already exists, add operation failed.
- Attribute type ’0.9.2342.19200300.100.1.1’ already exists, add operation failed.
We can ignore these messages. The messages indicate that the secretKey and uid attributes are already defined in your schema.
Parent topic:
LDAP Password Store