View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
17519Bug reportsAuthenticationpublic2021-09-06 09:31
Reportermkofahl Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.x 
Summary17519: LDAP URI scheme invalid
Description

The AuthLDAP plugin recommends in the settings page as help text for the LDAP server to use ldap: //ldap.example.com or ldaps: //ldap.example.com. This is only correct if ldap_connect were used with the URI. When using the host name and port, no scheme may be specified. Additionally, TLS does not depend on a specific port but the LDAP server configuration.

Steps To Reproduce

Configure LimeSurvey to use LDAP with ldap://hostname and a different port than 389 in the port field. PHP will treat the hostname as URI without port number.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)5.1.2+210813
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgreSQL 10
Server OS (if known)
Webserver software & version (if known)
PHP Version7

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2021-08-17 15:57

administrator   ~66037

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=32557

Related Changesets

LimeSurvey: master 8c188479

2021-08-17 15:45:13

c_schmitz

Details Diff
Fixed issue 17519: LDAP not working when using URI with port Affected Issues
17519
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

LimeSurvey: 3.x-LTS 65477186

2021-08-17 15:45:13

c_schmitz

Details Diff
Fixed issue 17519: LDAP not working when using URI with port Affected Issues
17519
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

Issue History

Date Modified Username Field Change
2021-08-17 15:00 mkofahl New Issue
2021-08-17 15:45 c_schmitz Assigned To => c_schmitz
2021-08-17 15:45 c_schmitz Status new => assigned
2021-08-17 15:45 c_schmitz Status assigned => resolved
2021-08-17 15:45 c_schmitz Resolution open => fixed
2021-08-17 15:48 c_schmitz Changeset attached => LimeSurvey master 8c188479
2021-08-17 15:57 c_schmitz Changeset attached => LimeSurvey 3.x-LTS 65477186
2021-08-17 15:57 c_schmitz Note Added: 66037
2021-08-17 15:57 c_schmitz Bug heat 0 => 2
2021-09-06 09:31 c_schmitz Status resolved => closed