Results 1 to 6 of 6

Thread: LDAP : How to config the filter and base ?

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    香港
    Posts
    5
    Rep Power
    9

    Default LDAP : How to config the filter and base ?

    I have a Lotus Domino LDAP server , the standard user account seems like this :

    CN=FirstName LastName,OU=Department_Code,OU=Factory_code,O=Comp any_Name

    for example :
    cn=Mary Hoo,ou=acc,ou=fc1,o=mabuchi

    In the Zimbra Admin web GUI , no matter how I typed GAL config , the test result is :

    GAL search failed
    Test result check.INVALID_SEARCH_FILTER:

    javax.naming.directory.InvalidSearchFilterExceptio n: Unbalanced parenthesis; remaining name 'OU=acc,OU=fc1,O=mabuchi'

    The dump of account ldapsearch result :


    CN=Tak Lo,OU=acc,OU=fc1,O=mabuchi
    cn=Tak Lo
    mail=tak.lo@mabuchi-motor.com.hk
    objectclass=dominoPerson
    objectclass=inetOrgPerson
    objectclass=organizationalPerson
    objectclass=person
    objectclass=top
    dominocertificate=03004D02 F91941B5 18G01626 G002664E
    givenname=Tak
    sn=Lo
    uid=tak.lo
    maildomain=mabuchi


    ********************************************

    Pls tell me how to config the GAL if I want user can search the e-mail address just by firstname , last name or full name , Thanks in advance!
    Last edited by wwlh; 03-03-2006 at 01:35 AM.

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    What were you trying to use for a filter?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Mar 2006
    Location
    香港
    Posts
    5
    Rep Power
    9

    Default

    I want my user can search the e-mail address in the LDAP by firstname , last name or full name

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    So try:

    Code:
    (|(mail=*%s*)(sn=*%s*)(givenname=*%s*))
    Last edited by KevinH; 03-03-2006 at 06:49 PM.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    Join Date
    Mar 2006
    Location
    香港
    Posts
    5
    Rep Power
    9

    Default

    Thanks ! it works fine with your code .
    But another question raise-up :
    In the GAL search result , my user can only see the e-mail address .
    So is it possible to show additional account information ( eg. tele , office ...) as well as email address ?

  6. #6
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    For the search we search email addresses. We don't look at other attributes.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Similar Threads

  1. Thunderbird ldap gal config help
    By steinkel in forum Users
    Replies: 12
    Last Post: 02-21-2012, 09:33 AM
  2. LDAP Filter issue and GAL
    By G-Money in forum Administrators
    Replies: 2
    Last Post: 06-24-2010, 12:13 PM
  3. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 04:29 AM
  4. Authentication to external ldap stop working.
    By jahaj in forum Installation
    Replies: 3
    Last Post: 12-05-2006, 02:17 PM
  5. ZCS 3.1 upgrade
    By dent in forum Administrators
    Replies: 29
    Last Post: 05-16-2006, 12:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •