Script to extract data from Active Directory and import in Zimbra Ldap

Hello Experts,

I have this specific requirment where i need to download/extract from AD (Firstname, LastName, etc) and upload the same to Ldap used by Zimbra mail server running on Suse Linux.

I know how to manually do that, but that is the not the solution. I am not yet sure on how to start and automate this with a shell script. Thanks in advance.

-S

Hi Siddheshk,

you may query your AD-Server with ldapsearch and may import that at your linux-ldap-server again with ldapadd or ldapmodify. Maybe there's also possible that your zarafa can query the AD himself(Probably only if you have the commercial version of zarafa installed).

A first google led me to this:

5.3. Configure ZCP Active Directory integration

Hi,

We are using the Zimbra and it does not fetch all the parameters from AD. so i need to write a script to get the required data.

-S

Ups. Sorry. Read error on my side. Zimbra instead of zarafa.

Maybe this may help?

Configure authentication with Active Directory - Zimbra :: Tech Center
LDAP Authentication - Zimbra :: Tech Center