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

Re: Default password for all users

> I am in the process of migrating around 600 users from another directory,
> using LDIF files. I want to give a common default CRYPT password to all
> users. How to do this ?

Decide on the password "sesame" etc, then use 'slappasswd' to generate the
crypted form:

slappasswd -c {CRYPT}
Enter password:
Confirm password:

then take the encrypted value it spits out and put that in your
generated LDIF for the userPassword field:

userPassword: {CRYPT}/5xf8KK/lkeAA

Of course openldap mustb be configured to build in CRYPT support at
compile time. This is not the default.