View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17854Bug reportsPluginspublic2026-10-17 09:56
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version3.25.20 
Summary17854: AuthLDAP show invalid password in case of conexion issue
Description

When there are a TLS issue with AuthLDAP : error shown as password issue.
But it's false, password are not tested

Steps To Reproduce

Steps to reproduce

Configure AuthLDAP in simplebind with ldap and TLS activated. Find an invalid TLS ldapo server (????)
Try to connect : show user/passowrd issue
Set debug > 0 See the TLS issue

Expected result

See an LDAP connexion issue

Actual result

See an password issue

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.2.9 or 3.27.32
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)windows
Webserver software & version (if known)IIS
PHP Versionphp7.4
Git branch / Pull Request URLN/A

Relationships

related to 18427 closedDenisChenu LDAP plugin error when try to create new user on PHP8.1 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-01-27 09:59

developer   ~68119

The issue is here : https://github.com/LimeSurvey/LimeSurvey/blob/01a6b187e1aa3aa7ec59e2731b0e9424806a12a4/application/core/plugins/AuthLDAP/AuthLDAP.php#L361

ldap_error($ldapconn) is empty.

DenisChenu

DenisChenu

2022-10-28 16:15

developer   ~72470

Must check after 18427 fix

DenisChenu

DenisChenu

2022-10-31 15:54

developer   ~72495

Still an issue

c_schmitz

c_schmitz

2026-10-17 09:56

administrator   ~86510

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

Related Changesets

LimeSurvey: master ba26d656

2026-10-17 09:55

c_schmitz


Details Diff
Fixed issue 17854: LDAP login with a failing TLS connection showed an invalid password message or an error page instead of the connection problem Affected Issues
17854
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File
mod - tests/unit/plugins/AuthLDAPTest.php Diff File

Issue History

Date Modified Username Field Change
2022-01-27 09:58 DenisChenu New Issue
2022-01-27 09:59 DenisChenu Note Added: 68119
2022-01-27 09:59 DenisChenu Bug heat 0 => 2
2022-01-31 09:20 galads Status new => acknowledged
2022-01-31 09:20 galads Zoho Project Synchronization => |Yes|
2022-01-31 09:20 LimeBot Zoho Projects ID => 85781000001627007
2022-01-31 09:20 LimeBot Zoho Projects URL => https://projects.limesurvey.org/portal/limesurvey#taskdetail/85781000001335039/85781000001348001/85781000001627007
2022-03-31 11:53 galads Zoho Project Synchronization Yes =>
2022-03-31 11:53 galads Zoho Projects ID 85781000001627007 =>
2022-03-31 11:53 galads Zoho Projects URL https://projects.limesurvey.org/portal/limesurvey#taskdetail/85781000001335039/85781000001348001/85781000001627007 =>
2022-10-28 16:15 DenisChenu Relationship added related to 18427
2022-10-28 16:15 DenisChenu Note Added: 72470
2022-10-31 15:54 DenisChenu Note Added: 72495
2022-10-31 15:55 DenisChenu Assigned To => DenisChenu
2022-10-31 15:55 DenisChenu Status acknowledged => assigned
2026-10-17 09:56 c_schmitz Changeset attached => LimeSurvey master ba26d656
2026-10-17 09:56 c_schmitz Note Added: 86510
2026-10-17 09:56 c_schmitz Assigned To DenisChenu => c_schmitz
2026-10-17 09:56 c_schmitz Status assigned => resolved
2026-10-17 09:56 c_schmitz Resolution open => fixed
2026-10-17 09:56 c_schmitz Bug heat 2 => 4