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
What are my options ?
1. Can I export data with passwords ?
2. Can I set default passwords to all my person objects with a script ?
3. Other option ?
Thanks a lot in advance ! Regards Gilles
_____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
On Friday 19 October 2007 10:37, Gilles Schlienger wrote:
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
slapcat should dump you everything. If you dump with ldapsearch make sure your bind dn has read access to passwords.
Thierry.
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.
--On Friday, October 19, 2007 1:37 AM -0700 Gilles Schlienger s_gilou@yahoo.com wrote:
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
How did you export? You should use slapcat to export, as it will contain all the data in the DB it exports.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-software@openldap.org