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

SV: Dump out a ldap?



I found out it by myself..
 
ldapsearch.exe -L -h 127.0.0.1 -p 389 -D "cn=Manager, o=yourorg" -w password -o whole_db.ldif -b "o=yourorg" objectclass=*
 
//Mikael
 
-----Ursprungligt meddelande-----
Från: Larsson Mikael (MLAH)
Skickat: den 30 oktober 2002 18:11
Till: openldap-software@OpenLDAP.org
Ämne: Dump out a ldap?

Hi,
 
Is there a good way to dump a whole ldap into a .ldif file ?   If I use a java-GUI called LDAP Browser, there I can dump the entire organisation (O). But I want to do it via a command-promt ?
 
I have tried ldapsearch, but it will not dump out children-objects...  does anyone know of a better way to do this ?
 
Regards
Mikael Larsson