View Issue Details

IDProjectCategoryView StatusLast Update
0001534SOGoOpenChange backendpublic2013-10-24 16:25
Reportervariable Assigned Towsourdeau 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001534: Email Style Usernames unable to login - Outlook
Description

When attempting to login via outlook, it is not possible to login with a username that is in the style of username@domain.tld. I have tried replacing the @ with %40 as detailed below.

Additional Information

I tried %40 in 3 ways:

First I left the ldb as username@domain.tld and changed the username in outlook to username%40domain.tld; and received:

Got user=[username%40domain.tld domain=[MAIN] workstation=[MAIN] len1=24 len2=24
auth_check_password_send: Checking password for unmapped user [MAIN][username%40domain.tld]@[MAIN]
map_user_info: Mapping user [MAIN][username%40domain.tld] from workstation [MAIN]
auth_check_password_send: mapped user is: [MAIN][username%40domain.tld]@[MAIN]
auth_get_challenge: returning previous challenge by module NTLMSSP callback (NTLM2) (normal)
[0000] 61 40 AE 68 94 C6 0B 8F a@.h....
sam_search_user: Couldn't find user [username%40domain.tld] in samdb, under DC=openchange,DC=local

Second I changed ldb to username%40domain.net and left outlook as username@domain.tld; received:

Got user=[username@domain.tld] domain=[] workstation=[MAIN] len1=24 len2=24
auth_check_password_send: Checking password for unmapped user [][username@domain.tld]@[MAIN]
map_user_info: Mapping user [][username@domain.tld from workstation [MAIN]
auth_check_password_send: mapped user is: [domain.tld][username]@[MAIN]
auth_get_challenge: returning previous challenge by module NTLMSSP callback (NTLM2) (normal)
[0000] E4 18 B4 B0 61 AB 31 7E ....a.1~
sam_search_user: Couldn't find user [username] in samdb, under DC=openchange,DC=local

Third, I changed both outlook and the ldb to username%40domain.tld; and received:

Got user=[username%40domain.tld] domain=[MAIN] workstation=[MAIN] len1=24 len2=24
auth_check_password_send: Checking password for unmapped user [MAIN][username%40domain.tld]@[MAIN]
map_user_info: Mapping user [MAIN][username%40domain.tld] from workstation [MAIN]
auth_check_password_send: mapped user is: [MAIN][username%40domain.tld]@[MAIN]
auth_get_challenge: returning previous challenge by module NTLMSSP callback (NTLM2) (normal)
[0000] F5 4D D7 32 F6 06 65 73 .M.2..es
sam_search_user: Couldn't find user [username%40domain.tld] in samdb, under DC=openchange,DC=local

TagsNo tags attached.

Activities

wsourdeau

wsourdeau

2012-06-14 14:29

viewer   ~0004048

You should be able to authenticate with your email by leaving the username (CN/sAMAccountName) untouched. You do need to synchronize the entries for the "mail" field between your LDAP directory and your Samba AD directory, though.

I just tested authenticating with my test user's email and it resolved perfectly. Can you retry on your side ith the above ?

variable

variable

2012-06-14 16:08

reporter   ~0004049

The problem is the @ symbol, could you give me an example for a username of testuser@example.tld?

wsourdeau

wsourdeau

2012-06-14 16:16

viewer   ~0004050

It could be "testuser",. then the email could be "testuser@example.tld" as usual.
Unless you usernames are already in email form, is that the case? In any case, the "@" sign can be kept, but the latter case might indeed not be supported.
Here, I am stricly talking about a user email used to logon to Samba...

variable

variable

2012-06-14 18:00

reporter   ~0004051

The entire username is testuser@example.tld; have you tried with this?

wsourdeau

wsourdeau

2012-11-06 19:27

viewer   ~0004782

Last edited: 2012-11-06 19:43

Please try again with the latest nightlies. Please note that what you are expected to do here is to actually connect to OpenChange by using the user's "upn" (userPrincipalName). Those identifiers contain an @ and are properly resolved. You might need to use a recent version of our packages for this, knowing too that the preferred installation method is to install our pre-built packages.

ludovic

ludovic

2012-11-19 18:16

administrator   ~0004915

No feedback provided in weeks. Closing for now.

Note that we have modified the code a few weeks ago, so things should now work.

Issue History

Date Modified Username Field Change
2011-12-08 16:35 variable New Issue
2012-01-12 16:15 wsourdeau Severity major => feature
2012-06-14 14:29 wsourdeau Note Added: 0004048
2012-06-14 16:08 variable Note Added: 0004049
2012-06-14 16:16 wsourdeau Note Added: 0004050
2012-06-14 18:00 variable Note Added: 0004051
2012-10-03 15:11 wsourdeau Project SOGo Native Outlook Compatibility (obsolete) => SOGo
2012-10-03 15:12 wsourdeau Category => OpenChange backend
2012-11-06 19:27 wsourdeau Note Added: 0004782
2012-11-06 19:27 wsourdeau Assigned To => wsourdeau
2012-11-06 19:27 wsourdeau Status new => feedback
2012-11-06 19:43 wsourdeau Note Edited: 0004782
2012-11-19 18:16 ludovic Note Added: 0004915
2012-11-19 18:16 ludovic Status feedback => closed
2012-11-19 18:16 ludovic Resolution open => fixed