View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002212 | SOGo | Web General | public | 2013-01-30 21:54 | 2013-02-04 19:04 |
Reporter | hrichter | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.0.4a | ||||
Summary | 0002212: Users in LDAP with user+Password exceeding 41chars can't log into Web interface | ||||
Description | When users in my LDAP directory with passwords longer than 11 bytes try to log in via web interface, they do not get any message regarding password failure, a redirect is happening and then they end up on the logon page again, except the url has changed to
First Phase of Auth attempt works,then with long password:
Also if i track LDAP in absulute verbose, this buffer read happens (the password was 'testpassword1234') 0040: 65 80 0b 74 65 73 74 70 61 73 73 77 6f 72 a0 1d e..testpasswor.. somehow the rest of the password gets eaten somewhere within sogo so somewhere within the login phase the long password gets cut | ||||
Additional Information | Also my Settings are bindAsCurrentUser = NO, so i don't know why sogo should try to bind as the current user Centos VServer from hosteurope.de no selinux Linux version 2.6.18-028stab098.1 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) 0000001 SMP Sat Feb 11 14:56:17 MSK 2012 | ||||
Tags | ldap | ||||
I could trace the error deeper: I use bindFields = mail, i created a test user within a different config with a very long username every password exceeding 8 chars is creating the strange behavior my conclusion: every combination of user+Password exceeding 41chars will produce this strange behavior with the web interface login screen. could someone confirm this on another machine? |
|
Is there a way to change the bug title? my new findings made the old obsolete, its more like thanks |
|
Changed title as requested by bug reporter. |
|
Jean Raby answered my Mailing List Request. The answer:
The problem occurs when the username:password exceeds 64 chars. --- a/SoObjects/SOGo/SOGoWebAuthenticator.m
|
|
Different fix commited : https://github.com/inverse-inc/sogo/commit/3d90e3a5393ff45b4915a1c915edd4c24b21763c Will be part of 2.0.4b |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-01-30 21:54 | hrichter | New Issue | |
2013-02-01 11:57 | hrichter | Tag Attached: ldap | |
2013-02-01 12:03 | hrichter | Note Added: 0005306 | |
2013-02-01 12:12 | hrichter | Note Edited: 0005306 | |
2013-02-01 12:17 | hrichter | Note Added: 0005307 | |
2013-02-04 10:44 | Christian Mack | Note Added: 0005321 | |
2013-02-04 10:44 | Christian Mack | Summary | Users in LDAP with Passwords longer than 11 chars can't log into Web interface => Users in LDAP with user+Password exceeding 41chars can't log into Web interface |
2013-02-04 18:24 | hrichter | Note Added: 0005326 | |
2013-02-04 19:04 |
|
Note Added: 0005327 | |
2013-02-04 19:04 |
|
Assigned To | => jraby |
2013-02-04 19:04 |
|
Status | new => resolved |
2013-02-04 19:04 |
|
Resolution | open => fixed |