GAL not syncing: possible causes
GAL not syncing: possible causes
Issue
The wiki discusses two possible causes for GAL not syncing in Outlook or ZD.
Resolution
The typical situation is that the configuration has been done properly, but somehow GAL entries are not showing up.
After checking the data sources we see everything is ok, and everything should be working. Below are two things that can help us identify the problem:
- The first to check is the domain for which the galsync account is configured. For example if the galsync account is galsync@example.com, we would check the exmple.com domain. And more specifically for GAL configuration attributes set on the domain. Such attributes are:
zimbraGalSyncLdapBindDn zimbraGalSyncLdapBindPassword zimbraGalSyncLdapSearchBase zimbraGalSyncLdapURL
These attributes can be set on GAL data source or Domain. If there is a problem with the sync, check the domain, and if these attributes are set,remove them.
- The second is again the domain, but this time we will look for different attribute. Lets say there is a problem with the sync, and we have checked the above attributes. They are not set. What we need to look for is:
zimbraGalAccountId
If this attribute is listed more than once with different values, we need to remove all and leave only one. To find out the correct one, we would need to find out the zimbraId of the gal account for this domain. Lets say the gal account is galsync@example.com, we would run:
$ zmprov ga galsync@example.com zimbraId
The zimbraId of the account corresponds to the zimbraGalAccountId in the domain configuration.
Once you find the correct one, remove the rest with:
$ zmprov md example.com -zimbraGalAccountId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
After removing the redundant entries, the sync should be ok.
Additional Information
Wikis for GAL configuration:
- https://wiki.zimbra.com/wiki/GAL_Sync_Account
- https://wiki.zimbra.com/wiki/Steps_to_make_two_domains%27_GAL_available_for_each_other