Launch the Sun Java System Directory Server Console.
Open your Sun ONE Directory Server 5.1 SP1 (or later version) instance.
Select the Configuration tab.
Click the + sign next to plug-ins.
Select the DES plug-in.
Choose Add to add a new attribute.
Type iplanetReversiblePassword.
Click Save.
Set a Digest authentication password.
The server uses the iplanetReversiblePassword attribute which is in the object class iplanetReversiblePassword. To use a Digest authentication password in the iplanetReversiblePassword attribute for a user, your entry must include the iplanetReversiblePasswordobject object.
This can be done using ldapmodify or using the Directory Server administration interface.
Using ldapmodify —
Create a file digest.ldif to store the LDAP commands. Adding the password is a two-step process.
Add the object class to the digest.ldif.
The file looks similar to the following (you can have more ldif files based on the Directory Server users and the ACL):
dn:uid=user1,dc=india,dc=sun,dc=com changetype:modify add:objectclass objectclass:iplanetReversiblePasswordobject dn:uid=user1,dc=india,dc=india,dc=sun,dc=com changetype:modify add:iplanetReversiblePassword iplanetReversiblePassword:user1 |
# ldapmodify -D “cn={CN_Value}” -w <password> -a <ldif_file_name>
Restart your Sun Java System Directory Server instance and verify that the user attributes are added to the Directory Server database.