OpenLDAP Quick Tips: Creating encrypted passwords



Here's my 6th tip in the "OpenLDAP Quick Tips" series:
"You want to encrypt the passwords that are stored in your directory server":
Previously we covered slaptest, so the next one we will cover in the slap* set of command lines tools is slappasswd
To create an encrypted password for a password "testing", we do:
CODE:
[root@suretec ~]# slappasswd
New password:
Re-enter new password:
{SSHA}4Q/jfwS2oPJtQDq7bmHozKOWkgDJNLEb
The default is SSHA encryption, which is the recommended. You can also generate a random password with the -g option:
CODE:
[ghenry@suretec ~]$ /usr/local/sbin/slappasswd -g
t5e7xEJE
Thanks,
Gavin.
If you have an entry for our "OpenLDAP Quick Tips" series, why not e-mail your tip to us.
P.S. For direct access to this section, you can click OpenLDAP Quick Tips.
Trackbacks
The Suretec Blog on : OpenLDAP Quick Tips: Switch to the dynamic config backend (cn=config)
Show preview
Hi All, Here's my 12th tip in the "OpenLDAP Quick Tips" series: "You want to switch from slapd.conf to the configuration backend to slapd": The config backend is backward compatible with the older slapd.conf(5) file but provides
The Suretec Blog on : OpenLDAP Quick Tips: Switch to the dynamic config backend (cn=config)
Show preview
Hi All, Here's my 12th tip in the "OpenLDAP Quick Tips" series: "You want to switch from slapd.conf to the configuration backend to slapd": The config backend is backward compatible with the older slapd.conf(5) file but provides
Comments
Display comments as Linear | Threaded
steve on :
Cheers
Steve
Gavin Henry on :
Looks good, but how would that integrate server side?
Anonymous on :