Results 1 to 2 of 2

Thread: Autocomplete / External LDAP

  1. #1
    Join Date
    Aug 2007
    Posts
    2
    Rep Power
    8

    Default Autocomplete / External LDAP

    I'm using the GAL Autocomplete with an external LDAP server, and I have an LDAP search filter that works (i.e. returns the correct LDAP results) when tested.

    However, it is returning the data from the "mail: " field. Our email addresses are not stored there, but in "mailAlternateAddress: " fields. How / where do I tell Zimbra to pull the data out of the mailAlternateAddress field instead of the mail field when using autocomplete searches?

    Example:

    If I search for "john", it will return this ldap entry:

    uid=johndoe,ou=people,dc=domain,dc=com
    mailAlternateAddress=johndoe@domain.com
    mail=some-data-i-dont-use
    cn=John Doe

    But, it tells me that John Doe's address is "some-data-i-dont-use" instead of his real address.

    Thank you for any help on this!

  2. #2
    Join Date
    Aug 2007
    Posts
    2
    Rep Power
    8

    Default

    Alright, I'm answering my own question. I changed mail to mailAlternateAddress here:


    zmprov

    prov> mcf -zimbraGalLdapAttrMap zimbraMailDeliveryAddress,zimbraMailAlias,mail=ema il,email2,email3,email4,email5,email6

    prov> mcf +zimbraGalLdapAttrMap zimbraMailDeliveryAddress,zimbraMailAlias,mailAlte rnateAddress=email,email2,email3,email4,email5,ema il6

Similar Threads

  1. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  2. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  3. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 05:29 AM
  4. Authentication to external ldap stop working.
    By jahaj in forum Installation
    Replies: 3
    Last Post: 12-05-2006, 03:17 PM
  5. External LDAP - Users can't log in
    By bjimerson in forum Administrators
    Replies: 4
    Last Post: 08-20-2006, 02:27 PM

Posting Permissions

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