On 09/17/2015 02:28 AM, Ludovic Marcotte wrote: > Try to delete all sessions from the table specified by > OCSSessionsFolderURL (/etc/sogo/sogo.conf), restart memcached and give > it an other try.
Hi Ludovic, just removed everything from sogo_session_folders with "delete from sogo_sessions_folder;" and restarted memcached/sogo with "/etc/init.d/sogo stop; /etc/init.d/memcached stop; /etc/init.d/memcached start; /etc/init.d/sogo start" IDField is now set for each domain: ... CNFieldName = cn; IDFieldName = mail; UIDFieldName = mail; ... ldapsearch is working with the credentials defined in sogo.conf, just as a example this search completes without errors: ldapsearch -x -D "serviceldap@domain.local" -b "cn=Users,dc=domain,dc=local" -W "(&(objectClass=user)(mail=*))" -h ldap-server but still get the same error in the logs.. But I've also updated another server (single domain, similar samba4/ldap connection and also Debian Jessie 8.2) and on this machine there were absolutely no issues (even IDFieldName is _not_ defined in sogo.conf) So maybe there is some problem within my multi domain setup, this is the only difference to the others server setup. Each domain is defined this way, as far as I know it seems to be correct (or isnt' it ?): domains = { domain.tld = { SOGoMailDomain = domain1.tld; SOGoTimeZone = Europe/Vaduz; SOGoForceExternalLoginWithEmail = YES; // defaults to NO SOGoUserSources = ( { type = ldap; id = domain.tld; CNFieldName = cn; IDFieldName = mail; UIDFieldName = mail; hostname = "ldap://10.x.x.x:389"; baseDN = "dc=domain,dc=local"; bindDN = "serviceldap@domain.local"; bindPassword = "passwd"; bindFields = (mail); filter = "(objectClass='*' AND mail='*@domain.tld' AND userAccountControl != 66050 OR objectClass='contact')"; canAuthenticate = YES; isAddressBook = YES; displayName = "Globales Adressbuch"; IMAPLoginFieldName = mail; MailFieldNames = (mail, otherMailbox); MultipleBookingsFieldName = Multiplebookings; mapping = { mozillasecondemail = otherMailbox; mozillahomeurl = WWWHomePage; mozillahomepostalcode = postalCode; workCity = l; cellularnumber = mobile; workstreet = streetaddress; workzipcode = (postalcode, zip); workcountry = countryname; workcity = (l, locality); workstate = (st, region); company = (o, company); jobtitle = title; }; }, ); }; other domains like above } Regards Peter -- users@sogo.nu https://inverse.ca/sogo/lists