Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-23-2009, 02:15 AM
Member
 
Posts: 11
Default External GAL autocomplete issue

Zimbra is setup to query addresses from a External GAL. Settings are as follows.

GAL Mode = External
Most results returned by GAL search = 1000
Server Type = LDAP
External Server Name = ldap://192.168.xx.xx:389
LDAP Filter = (|(cn = %s*)(sn=%s*)(gn=%s*)(mail=%s*))
Autocomplete Filter = (|(cn = %s*)(sn=%s*)(gn=%s*)(mail=%s*))
LDAP search base = (O=xxx)

Some addresses in the LDAP are not coming for Autocomplete. But they can be viewed when we click on "To" button and search. What can be the reason that some addresses are not coming for Autocomplete? The Filter is same for LDAP Filter and Autocomplete filter. Thank you.
Reply With Quote
  #2 (permalink)  
Old 12-25-2009, 02:23 AM
Senior Member
 
Posts: 51
Default

Quote:
Originally Posted by yasanthau View Post
Some addresses in the LDAP are not coming for Autocomplete
Provide some example please.
Reason may be in someone similar char like ',' (comma).
Reply With Quote
  #3 (permalink)  
Old 12-27-2009, 09:51 PM
Member
 
Posts: 11
Default

Sometimes cannot search anything from GAL


2009-12-25 12:35:26,782 INFO [btpool0-965://192.168.10.178/service/soap/SearchGalRequest] [name=niranjiw@zim.ual.lk;mid=1334;ip=192.168.140.1 5;ua=ZimbraWebClient - IE6 (Win)/6.0.4_GA_2038.RHEL5;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: ldap search failed
ExceptionId:btpool0-965://192.168.10.178/service/soap/SearchGalRequest:1261724726782:dd78216739d2496b
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:247)
at com.zimbra.cs.gal.GalSearchControl.ldapSearch(GalS earchControl.java:377)
at com.zimbra.cs.gal.GalSearchControl.search(GalSearc hControl.java:113)
at com.zimbra.cs.service.account.SearchGal.handle(Sea rchGal.java:77)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:418)
..........................
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Caused by: com.zimbra.common.service.ServiceException: system failure: unable to search gal
ExceptionId:btpool0-965://192.168.10.178/service/soap/SearchGalRequest:1261724726782:dd78216739d2496b
Code:service.FAILURE
Reply With Quote
  #4 (permalink)  
Old 12-27-2009, 10:32 PM
Member
 
Posts: 11
Default

Found another error on /opt/zimbra/log/mailbox.log

Caused by: javax.naming.NamingException: LDAP response read timed out, timeout used:30000ms.; remaining name 'O=ual'

Can we increase "LDAP response read timed out"?

After restarting zimbra, it works for sometime and again stops
Reply With Quote
  #5 (permalink)  
Old 12-28-2009, 10:30 PM
Member
 
Posts: 11
Default

After configuring a GAL sync account and a GAL Datasource, the addresses in the LDAP server sync with a addressbook on the specified gal sync account.

But when autocomplete works, the addresses are shown as;

"{\"ZMVAL\":[\"Achala Wanninayaka\",\"achalaw\"]}" <achalaw@sub.domain.lk>;

How can I get it filtered just to get only the display name and email address?

When I look at the address book, the entries are shown by email address. Not by display name. But when I go to edit, all details are there perfectly with display name, first name, last name, email address, and other field contains CN=Achala Wanninayaka,O=Base
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com