For digest authentication using an LDAP-based directory service, you need to install the digest authentication plug-in. This plug-in computes a digest value on the server side, and compares this against the digest value provided by the client. If the digest values match, the user is authenticated.
If you’re using a file-based authentication database, you don’t need to install the digest authentication plug-in.
The Digest Authentication plug-in consists of a shared library found in the following files:
Make sure this shared library resides on the same server machine that the Sun Java System Directory Server is installed on.
Make sure you know the Directory Manager password.
Modify the libdigest-plugin.ldif file changing all references to the /path/to to the location where you installed the digest plug-in shared library.
libdigest-plugin.ldif is available at server-root/plugins/digest/libdigest-plugin.ldif.
To install the plug-in, enter the following command:
% ldapmodify -D "cn=Directory Manager" -w password -a < libdigest-plugin.ldif
You need to copy several .dll files from the Sun Java System Web Server installation to your Sun Java System Directory Server server machine in order for Sun Java System Directory Server to start properly with the Digest plug-in.
Access the shared libraries on the Sun Java System Web Server installation in:
[server_root]\bin\https\bin
Copy the following files:
Paste them into either:
The DES algorithm is needed to encrypt the attribute that stores the digest password.
Launch the Sun Java System Directory Server Console.
Open your iDS 5.0 instance.
Select the Configuration tab.
Click on the + sign next to plug-ins.
Select the DES plug-in.
Choose Add to add a new attribute.
Enter iplanetReversiblePassword.
Click Save.
Restart your Sun Java System Directory Server instance.
The iplanetReversiblePasswordobject attribute stores the password for digest authentication. To set a digest authentication password in the iplanetReversiblePassword attribute for a user, your entry must include the iplanetReversiblePasswordobject object.