Hello,

I’m having trouble mapping LDAP fields. My current settings are the following:
  SOGoUserSources = (
    {
      type = ldap;
      CNFieldName = cn;
      UIDFieldName = uid;
      IDFieldName = uid; // first field of the DN for direct binds
      bindFields = (uid, mail); // array of fields to use for indirect binds
      baseDN = "ou=clients,dc=mydomain,dc=com";
      bindDN = "cn=admin,dc=mydomain,dc=com";
      bindPassword = secret;
      canAuthenticate = YES;
      displayName = "Shared Addresses";
      hostname = ldap://ldap.mydomain.com:389;
      id = public;
      isAddressBook = NO;
      mapping = {
          mozillasecondemail = ("gosaMailAlternateAddress", 
"mozillasecondemail");
      };
    }
  );

Users are able to authenticate and access their mailboxes, however I’m not 
getting their alternate addresses. In the send form, only the primary mail 
option is shown. I added the mapping entry after initialising the database. 
What am I doing wrong?

Best Regards,
Luis
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to