You may want to use hashed password, the equivalent of "secret" is shown here. # slappasswd -h {MD5} New password: secret Re-enter new password: secret {MD5}Xr4ilOzQ4PCOq3aQ0qbuaQ==