View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
10104Bug reportsAuthenticationpublic2016-05-24 09:49
Reporteragreifmdc Assigned Toaesteban  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Summary10104: failed authentication with LDAP shows "success" message
Description

I use the LDAP plugin for authentication with an additional filter that the user must be a member of a given group. Now the strange thing is that on failed authentication I get a small popup message "success" and the login screen is still visible. Thus the user is not logged in, but the message should say that "authentication failed".

Even if the user was already logged in in the past and now he uses a wrong password, then again I see the "success" message.

The "success" message is completely misleading and users are confused.

Additional Information

I use Version 2.06+ Build 151205 (without 2.5RC5)

LDAP is ActiveDirectory

LDAP Plugin settings:

Ldap server mydomain.net
Port number 389
LDAP version LDAPv3
referrals False
Enable Start-TLS? True
authentication Search and bind

Attribute sAMAccountName
Base DN dc=mydomain,dc=net
Optional extra (memberof=CN=mygroup,OU=functional_groups,DC=mydomain,DC=net)
Optional DN CN=myuser,OU=functional_accounts,DC=mydomain,DC=net
Password xxxxxxxxxxxxxxx
LDAP email mail
LDAP full name? cn
Check default YES
Automatically YES
Grant NO

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)151205
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionmysql
Server OS (if known)centos 6.7
Webserver software & version (if known)apache 2.15
PHP Version5.5

Relationships

has duplicate 09952 closedaesteban LDAP says successful but does not log in 

Users monitoring this issue

There are no users monitoring this issue.

Activities

aesteban

aesteban

2016-05-23 02:12

developer   ~38708

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19110

aesteban

aesteban

2016-05-23 02:16

developer   ~38709

Fix committed to 2.06lts branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19111

c_schmitz

c_schmitz

2016-05-24 09:49

administrator   ~38746

Version 2.50+ Build 160523 released

Related Changesets

LimeSurvey: master efad8c2d

2016-05-21 16:37:27

aesteban

Details Diff
Fixed issue 10104: failed authentication with LDAP shows "success" message Affected Issues
10104
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

LimeSurvey: 2.06lts 03e5c55c

2016-05-21 16:37:27

aesteban

Details Diff
Fixed issue 10104: failed authentication with LDAP shows "success" message Affected Issues
10104
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

Issue History

Date Modified Username Field Change
2015-12-10 15:16 agreifmdc New Issue
2016-05-23 02:12 aesteban Changeset attached => LimeSurvey master efad8c2d
2016-05-23 02:12 aesteban Note Added: 38708
2016-05-23 02:12 aesteban Assigned To => aesteban
2016-05-23 02:12 aesteban Resolution open => fixed
2016-05-23 02:16 aesteban Changeset attached => LimeSurvey 2.06lts 03e5c55c
2016-05-23 02:16 aesteban Note Added: 38709
2016-05-23 02:17 aesteban Status new => resolved
2016-05-23 02:18 aesteban Relationship added has duplicate 09952
2016-05-24 09:49 c_schmitz Note Added: 38746
2016-05-24 09:49 c_schmitz Status resolved => closed