Previous Topic: set password-retries CommandNext Topic: set password-substring-attrs Command


set password-storage Command

The set password-storage command lets you select a hashing method for passwords stored in the directory.

This command has the following format:

set password-storage = ssha-512 | sha-512 | ssha-1 | sha-1 | crypt | md5 | smd5 | none;
ssha-512

(Default) Hashes the password using the Salted SHA-512 algorithm.

sha-512

Hashes the password using the SHA-512 algorithm.

ssha-1

Hashes the password using the Salted SHA-1 algorithm. This algorithm produces a different hash even for the same clear text password, which is more secure.

sha-1

Hashes the password using the SHA-1 algorithm.

crypt

Hashes the password using the UNIX crypt method.

md5

Hashes the password using the Message Digest algorithm.

smd5

Hashes the password using the Salted Message Digest algorithm.

none

Passwords are not hashed. This should only be used for testing.

More information:

Password Storage

How Password Encryption Works