migrating LDAP entries to csv format

Post feedback about our hosted demo or your local install. Tell us what you love and/or what you’d like to see added in the future.
Post Reply
Nikhil.Shetty
Posts: 1
Joined: Sat Sep 13, 2014 3:04 am

migrating LDAP entries to csv format

Post by Nikhil.Shetty »

i am tring to convert my ldap entries to csv format
i have just started working on zimbra
i executed ./ldap-csvexport.pl with attributes i wanted but am getting this error
(Server says: IO::Socket::INET: connect: Connection refused)
any help in this matter will be appreciated
thanks and regards

Nihkil Shetty
User avatar
esafonov
Posts: 25
Joined: Tue Jul 05, 2016 3:38 am

Re: migrating LDAP entries to csv format

Post by esafonov »

Code: Select all

su - zimbra
source ~/bin/zmshutil ; zmsetvars
./ldap-csvexport.pl -u $zimbra_ldap_userdn -p $zimbra_ldap_password -H "ldap://hostname.example.org:389/dc=example,dc=org?uid,mail,zimbraMailAlias,zimbraMailTransport?sub?(objectClass=zimbraAccount)"
Post Reply