[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd.conf -- passwords in clear text



you do:
perl -e "print crypt('secret', join '', ('.', '/', 0..9, 'A'..'Z', 'a'..'z')
[rand 64, rand 64]);"
to get your crypt version of your password (change secret for the pwd). 

Then you write the pwd in slapd.conf like this:
instead of secret
{crypt}POKko23kadsæpksa
        ^^ the output from the above perl command.

Tarjei

> Hi Folks,
> 
> in my slapd.conf the password is in clear text.  Is there a way
> I can encrypt this ? 
> 
> Do I need to run a different version of LDAP ?
> 
> thanks a bunch for your help!
> 
> Rita Starceski


____________________
Tarjei Huse
920 63 413