[pkg-kolab] Passwords

Tom Fernandes anyaddress at gmx.net
Thu May 18 23:09:46 UTC 2006


On Wednesday 17 May 2006 17:56, Johannes Graumann wrote:
> On Wednesday 17 May 2006 08:30, Marvin Stark wrote:
> > > 1) is the 'rootpw' entry in slapd.conf supposed to be cleartext or
> > > hashed?

it can be either cleartext or hashed.

# man slapd.conf

is your friend :).

> >
> > cleartext.
> Thanks.
> > > 2) How are the the hashed passwords in the example ldif data generated?

if an attribute contains "::" it is base64 encoded - you will have to decode 
the string to view the actual content.
if you decode  


you will get:


this string.

to use your own passwords in the ldif file you can use slappasswd to genereate 

# slappasswd -h {SSHA}

after that you will have to encode the whole string to base64. You can either 
write a small script for that or use a side like:


to encode / decode the password.

Hope that gives you some more insight,


More information about the pkg-kolab-devel mailing list