View Issue Details

IDProjectCategoryView StatusLast Update
0003343SOGoBackend Generalpublic2015-09-24 07:30
Reporterquybaohoang Assigned To 
PriorityhighSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version14.04 LTS
Product Version2.3.1 
Summary0003343: Login to Frontend and using Thunderbird without domain part
Description

When I use Thunderbird to add my email, the username part is only abc (not abc@example.com), I had to manually add the @example.com part.

In the same way, when login using front end web browser, I have to use the full email address.

Is there any way to config SOGo and other backend components to allow login with Thunderbird/Outlook and frontend web browser with only username without domain part?

I had add the parameter SOGoMailDomain = "example.com"; to sogo.conf and auth_default_realm = bqtoolbox.com to dovecot.conf but no luck.

Thank you.

TagsNo tags attached.

Activities

quybaohoang

quybaohoang

2015-09-14 02:11

reporter   ~0008910

Sorry, auth_default_realm = example.com

Christian Mack

Christian Mack

2015-09-17 12:07

developer   ~0008928

Do you use multidomain setup?

quybaohoang

quybaohoang

2015-09-17 19:50

reporter   ~0008929

No. I only use one domain only.

Christian Mack

Christian Mack

2015-09-18 09:09

developer   ~0008931

I assume you use LDAP authentication.
What did you set for IDFieldName and UIDFieldName?

quybaohoang

quybaohoang

2015-09-18 17:00

reporter   ~0008932

both is "mail" (without quotes)

Christian Mack

Christian Mack

2015-09-21 09:10

developer   ~0008933

What is the content of bindFields?
Do you have an attribute which only contains the username part listed in it ?

quybaohoang

quybaohoang

2015-09-23 16:37

reporter   ~0008935

bindFields = (mail);

quybaohoang

quybaohoang

2015-09-23 16:45

reporter   ~0008936

with

bindAsCurrentUser = YES;

and

SOGoForceExternalLoginWithEmail = NO;

Christian Mack

Christian Mack

2015-09-24 04:25

developer   ~0008937

You have to add an attribute to bindFields, which only contains the desired login name value.
Example:
bindFields = (mail,cn);

quybaohoang

quybaohoang

2015-09-24 07:23

reporter   ~0008939

I had added

bindFields = (mail,cn);

but only postmaster (w/o domain part) works. Other accounts are still not accessible w/o the domain part.

Regards,

Christian Mack

Christian Mack

2015-09-24 07:30

developer   ~0008940

The cn attribute was only an example, as I do not know, which values are in there for your setup.
Does cn perhaps contain the users full name?
Then the user has to login either with his full name or his email.

So you have to find an attribute, which contains the desired login name, and add this to bindFields instead of the cn example.

Issue History

Date Modified Username Field Change
2015-09-14 02:10 quybaohoang New Issue
2015-09-14 02:11 quybaohoang Note Added: 0008910
2015-09-17 12:07 Christian Mack Note Added: 0008928
2015-09-17 19:50 quybaohoang Note Added: 0008929
2015-09-18 09:09 Christian Mack Note Added: 0008931
2015-09-18 17:00 quybaohoang Note Added: 0008932
2015-09-21 09:10 Christian Mack Note Added: 0008933
2015-09-23 16:37 quybaohoang Note Added: 0008935
2015-09-23 16:45 quybaohoang Note Added: 0008936
2015-09-24 04:25 Christian Mack Note Added: 0008937
2015-09-24 07:23 quybaohoang Note Added: 0008939
2015-09-24 07:30 Christian Mack Note Added: 0008940