First i used this guide for reference, my domain is mill-mgt.com in case anyone is wondering where that name came from.
Zimbra Wiki Article:
GAL Sync Account - Zimbra :: Wiki
There are some key steps in order to get your exchange GAL to sync with zimbra. The first step is to create the internal GAL for your zimbra domain. you can do this from the Admin UI or command line. If you have been working on this before you can delete your previous galsync with the following command
zmgsautil deleteAccount -a
galsync@mill-mgt.com
then create the new account and force sync it
zmgsautil createAccount -a
galsync@mill-mgt.com -n InternalGAL --domain mill-mgt.com -t zimbra -f _InternalGAL
zmgsautil forcesync -a
galsync@mill-mgt.com -n InternalGAL
Now that the internal GAl datasource is setup and the gal sync account is configured, its time to setup the Active directory datasource which i did from the command line as well.
zmgsautil createAccount -a
galsync@mill-mgt.com -n ActiveDirectoryGAL --domain mill-mgt.com -t ldap -f _ActiveDirectoryGAL -p 1d
The next step is important if you want it to work, you must configure the ActiveDirectoryGAL datasource to connect to your AD or Exchange server. The command line is as follows, but i could not get it to work. kept giving me error messages as if i mistyped the zmprov command. I posted it here so you can see what the values are for each setting. I did this step from the Admin GUI.
zmprov mds
galsync@mill-mgt.com ActiveDirectoryGAL \
zimbraGalSyncLdapBindDn CN=Administrator,CN=Users,DC=exch,DC=it-mgt,DC=net \
zimbraGalSyncLdapBindPassword 3xchang3 \
zimbraGalSyncLdapFilter 'ad' \
zimbraGalSyncLdapSearchBase OU=Millennium-mgt,OU=Hosted Organizations,DC=exch,DC=it-mgt,DC=net \
zimbraGalSyncLdapURL ldap://192.168.50.92:3268
In the admin GUI you can accomplish the above by doing the following. Im only going to list the items i changed, all the rest stayed at the defaults that i found.
- GAL mode = both
- External GAL polling = 1day
- ldap:// 192.168.50.92 port 3268 [NOTE] this must be the global catalogu server
- LDAP search base: The Distinguished Name (DN) of the folder containing the users you want to see in the GAL. it can either be the root of your domain tree, or any folder under it. If you dont know the DN, use ADSI edit to find out.
- Bind DN = The DN of the account that will be used to connect to AD. I used my admin account for testing, but recommend creating a zimbra account in Exchange just for this purpose.
Lastly the search term is any user in the AD tree so you can see if the Sync will work if you have everything correct up to this point you will get results from your exchange global address list.
any questions please post.
