Em Sex, 2007-10-19 às 01:37 -0700, Gilles Schlienger escreveu:
Hi,
I would like to export an existing Openldap database on a local new Openldap install? I exported the data in an LDIF file, but it does not contain the passwords
If you used ldapsearch, most likely ACLs prevented you from reading the userPassword attribute. Assuming these are the passwords you are talking about (i.e., simple bind passwords, and not some sasl stuff).
What are my options ?
- Can I export data with passwords ?
Sure. Use ldapsearch with appropriate credentials that can read all the userPassword attributes, or just use slapcat to create a "dump" file.
- Can I set default passwords to all my person objects with a script ?
You can do whatever you want with the resulting ldif file.