External GAL, gal sync account and autocomplete

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Advanced member
Advanced member
Posts: 57
Joined: Sat Sep 13, 2014 12:52 am

External GAL, gal sync account and autocomplete

Postby yasanthau » Fri Mar 15, 2013 1:51 am

GAL is configured for a domain. Everything seems to be fine and sometimes the address query is successful. But most of the time, the gal query fails with following message
method: SearchGalRequest

msg: system failure: ldap search failed

code: service.FAILURE

detail: soap:Receiver

trace: btpool0-1686://

Body: {

SearchGalRequest: {

_jsns: "urn:zimbraAccount",

limit: 50,

name: ".",

offset: 0,

sortBy: "nameAsc",

type: "account"



Header: {

context: {

_jsns: "urn:zimbra",

account: {

_content: "anupama@xxx.lk",

by: "name"


authToken: "(removed)",

notify: {

seq: 1


session: {

_content: 111519,

id: 111519


userAgent: {

name: "ZimbraWebClient - FF3.0 (Win)",

version: "6.0.4_GA_2038.RHEL5"



Following details are for your reference.
[root@xxx ~]# su - zimbra -c "zmprov gds anupama@xxx.lk"

# name ExternalGAL

# type gal

objectClass: zimbraDataSource

objectClass: zimbraGalDataSource

zimbraCreateTimestamp: 20130314084415Z

zimbraDataSourceEnabled: TRUE

zimbraDataSourceFolderId: 4528

zimbraDataSourceId: 2c8f9c34-d3fd-401e-a1bd-4326c8a4a2c4

zimbraDataSourceName: ExternalGAL

zimbraDataSourceType: gal

zimbraGalLastFailedSyncTimestamp: 20130314111819Z

zimbraGalStatus: enabled

zimbraGalType: ldap
# name _ExternalGAL

# type gal

objectClass: zimbraDataSource

objectClass: zimbraGalDataSource

zimbraCreateTimestamp: 20130315045211Z

zimbraDataSourceEnabled: TRUE

zimbraDataSourceFolderId: 4529

zimbraDataSourceId: 20d16905-ebc0-4d96-93f4-01d3401e537e

zimbraDataSourceName: _ExternalGAL

zimbraDataSourcePollingInterval: 1d

zimbraDataSourceType: gal

zimbraGalLastFailedSyncTimestamp: 20130315045308Z

zimbraGalStatus: enabled

zimbraGalType: ldap

[root@xxx ~]# su - zimbra -c "zmprov gd xxx.lk | grep -i gal"

zimbraGalAccountId: 4c4033f2-df77-4483-8d18-8c19ae99ca2d

zimbraGalAutoCompleteLdapFilter: (|(cn = %s*)(sn=%s*)(gn=%s*)(mail=%s*))

zimbraGalInternalSearchBase: DOMAIN

zimbraGalLdapAttrMap: co=workCountry

zimbraGalLdapAttrMap: company=company

zimbraGalLdapAttrMap: description=notes

zimbraGalLdapAttrMap: displayName,cn=fullName

zimbraGalLdapAttrMap: givenName,gn=firstName

zimbraGalLdapAttrMap: initials=initials

zimbraGalLdapAttrMap: l=workCity

zimbraGalLdapAttrMap: objectClass=objectClass

zimbraGalLdapAttrMap: ou=department

zimbraGalLdapAttrMap: physicalDeliveryOfficeName=office

zimbraGalLdapAttrMap: postalCode=workPostalCode

zimbraGalLdapAttrMap: sn=lastName

zimbraGalLdapAttrMap: st=workState

zimbraGalLdapAttrMap: street,streetAddress=workStreet

zimbraGalLdapAttrMap: telephoneNumber=workPhone

zimbraGalLdapAttrMap: title=jobTitle

zimbraGalLdapAttrMap: whenChanged,modifyTimeStamp=modifyTimeStamp

zimbraGalLdapAttrMap: whenCreated,createTimeStamp=createTimeStamp

zimbraGalLdapAttrMap: zimbraCalResLocationDisplayName=zimbraCalResLocationDisplayName

zimbraGalLdapAttrMap: zimbraCalResType=zimbraCalResType

zimbraGalLdapAttrMap: zimbraId=zimbraId

zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16

zimbraGalLdapAttrMap: zimbraMailForwardingAddress=zimbraMailForwardingAddress

zimbraGalLdapFilter: (|(cn = %s*)(sn=%s*)(gn=%s*)(mail=%s*))

zimbraGalLdapPageSize: 1000

zimbraGalLdapSearchBase: O=ual

zimbraGalLdapURL: ldap://

zimbraGalMaxResults: 1000

zimbraGalMode: ldap

zimbraGalSyncLdapPageSize: 1000

zimbraGalSyncTimestampFormat: yyyyMMddHHmmss'Z'
How can we get addresses from GAL sync account? Autocomplete also get failed.
Force sync command finish successfully but I found no addresses in the address book of GAL sync account.

zmgsautil forceSync -a anupama@xxx.lk -n ExternalGAL
I went through this document GAL Sync Account - Zimbra :: Wiki

My zimbra version is zcs-6.0.4_GA_2038.RHEL5
How can I properly configure GAL with external ldap service and sync same with a local galsync account. Address query should be pointed to galsync account.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 17 guests