Hi,

I have Nethserver connecting to an AD/Samba 4 server (Univention Corporate Server). When users get pulled across using Carddav/SOGo, each user has three addressed associated with them, and each address is the same.

I didn't see it as an issue until I used Cardbook (Thunderbird carddav plugin) to add a user to an email. Suddenly, the user was entered in the to: field three times.

   SOGoUserSources =(
     {
        id = AD_Users;
        type = ldap;
        CNFieldName = cn;
        IDFieldName = sAMAccountName;
        UIDFieldName = sAMAccountName;
        IMAPLoginFieldName = mail;
        canAuthenticate = YES;
        bindDN = "example\\administrator";
        bindPassword = "gobbelygook";
        baseDN = "dc=example,dc=com";
        bindFields = (
                sAMAccountName,
                userPrincipalName
            );
        hostname = ldap://dc1.example.com;
filter = "(objectClass='user') AND (sAMAccountType=805306368) AND (mail='*')";
        MailFieldNames = ("userPrincipalName", "mail");
        scope = SUB;
        displayName = "Example Users";
        isAddressBook = YES;
     },
     {
        id = AD_Groups;
        type = ldap;
        CNFieldName = name;
        IDFieldName = sAMAccountName;
        UIDFieldName = sAMAccountName;
        canAuthenticate = YES;
        bindDN = "example\\administrator";
        bindPassword = "gobbelygook";
        baseDN = "dc=example,dc=com";
        hostname = ldap://dc1.example.com;
filter = "(objectClass='group') AND (sAMAccountType=268435456) AND (mail='*')";
        MailFieldNames = ("userPrincipalName","mail");
        scope = SUB;
        displayName = "Example Groups";
        isAddressBook = YES;
     }


Is there something wrong in my SOGo config?

Thanks,

Gerald

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to