Am 04.01.19 um 12:10 schrieb Odhiambo Washington (odhia...@gmail.com):
> On Thu, 3 Jan 2019 at 23:28, Christian Mack <users@sogo.nu> wrote:
< ... >
>>
>>> I am also trying to understand how to correctly use the SOGOLoginDomains
>>> parameter within domains config block. I have 4 domains, so I wonder how
>> to
>>> use this to give me a dropdown of the domains.
>>>
>>
>> I don't use that, but according to the "SOGo - Installation and
>> Configuration Guide" you have to set SOGoLoginDomains to an array of
>> keys from your domains configuration.
>> With "keys" they really mean the name of domains given (e.g. acme.com
>> from "acme.com = {")
>>
>> For the example configuration that would be:
>> SOGoLoginDomains = ("acme.com", "coyote.com");
>>
>>
>> https://sogo.nu/files/docs/SOGoInstallationGuide.html#_multi_domains_configuration
> 
> 
> I have done exactly that. However, the moment I enable the
> SOGoLoginDomains, I cannot login as authentication fails:
> 
> Jan 04 05:05:36 sogod [81552]: SOGoRootPage Login from '41.215.134.216' for
> user 'ictsupport' might not have worked - password policy: 65535  grace:
> -1  expire: -1  bound: 0
> 
> Without it, I am able to login with username@domain successfully.
> My domain names are quite long for typing, hence my need to select from a
> dropdown list.
> 

You said you use a mysql database as SOGoUserSources.
I assume your c_uid field contains the complete email address.
SOGo does query for a username without "@domain" part.
Do you have an username field used in LoginFieldNames without @domain part?


Kind regards,
Christian Mack

-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to