Perform a Quick Test

Plug the XOR password storage scheme into Directory Server if
you have not done so already.

Before you do anything else, quickly check that Directory Server calls
the plug-in encode function as expected. To perform this quick test, use the pwdhash tool. The pwdhash tool has Directory Server encode
a password, then display the result.

Example 12–4 Testing the Password Storage Scheme

$ pwdhash -D /local/ds -s XOR password
{XOR}ZKYY]EXN

Do not be concerned with the exact value of the resulting encoded password.
The output should, however, start with {XOR}.

As Directory Server calls the encode function dynamically, you can
fix the plug-in library. Then try pwdhash without doing
anything to Directory Server. If this quick test does not work, fix
the example.

To Encode a Password With the XOR Scheme

Here, you use the XOR scheme to encode a new password for Barbara Jensen.