View Issue Details

This bug affects 1 person(s).
 22
IDProjectCategoryView StatusLast Update
17535Bug reportsPluginspublic2021-09-07 17:58
ReporterDennis1993 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.x 
Summary17535: Login with LDAP not working with latest update
Description

Hello,

we use the following version: Version 5.1.4+210824

After login with LDAP the following error accours:
500: Interner Serverfehler
Call to undefined function str_pos()
Ein interner Fehler ist aufgetreten, während der Webserver Ihre Anfrage bearbeitet hat.

Bitte kontaktieren Sie Administrator, um dieses Problem zu melden.

No use can work. I hope you can fix this.

After every update another problem: If I update the software after that in all user-roles the checkbox "Verwende LDAP-Authentifizierung" is not checked anymore and I can after every update set this option to all user-roles again.

Thanks in advance!

Tagsldap, login
Bug heat22
Complete LimeSurvey version number (& build)5.1.4+210824
I will donate to the project if issue is resolvedNo
BrowserMicrosoft Edge
Database type & versionMariaDB 10.3.x
Server OS (if known)Ubuntu 20.04
Webserver software & version (if known)Apache 2.4
PHP VersionPHP 8.0.9

Relationships

has duplicate 17574 closedc_schmitz LDAP bug 17535 also in 3.x branch 
has duplicate 17577 closedc_schmitz LDAP authentication crash 

Users monitoring this issue

There are no users monitoring this issue.

Activities

b_wolber

b_wolber

2021-08-24 12:07

reporter   ~66108

I can confirm the problem. Seems to be a typo in one of the last commits.

I provided a PR here: https://github.com/LimeSurvey/LimeSurvey/pull/2019

p_teichmann

p_teichmann

2021-08-24 12:10

administrator   ~66109

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

guest

guest

2021-08-24 17:07

viewer   ~66116

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

c_schmitz

c_schmitz

2021-09-07 09:57

administrator   ~66371

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

Related Changesets

LimeSurvey: master f4b1de29

2021-08-24 12:10:05

p_teichmann

Details Diff
Fixed issue 17535: Login with LDAP not working Affected Issues
17535
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

LimeSurvey: master 8ec2a768

2021-08-24 17:07:27

wolbernd


Committer: GitHub Details Diff
Fixed issue 17535: Error when logging in with LDAP (#2019)

Function str_pos() does not exist in PHP -> changed to strpos()
Affected Issues
17535

LimeSurvey: 3.x-LTS 45033c2e

2021-09-07 09:57:30

c_schmitz

Details Diff
Fixed issue 17535: Error when logging in with LDAP Affected Issues
17535
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

Issue History

Date Modified Username Field Change
2021-08-24 08:14 Dennis1993 New Issue
2021-08-24 08:17 Dennis1993 Tag Attached: ldap
2021-08-24 08:17 Dennis1993 Tag Attached: login
2021-08-24 10:18 c_schmitz Assigned To => p_teichmann
2021-08-24 10:18 c_schmitz Status new => assigned
2021-08-24 10:18 c_schmitz Sync to Zoho Project => |Yes|
2021-08-24 12:07 b_wolber Note Added: 66108
2021-08-24 12:07 b_wolber Bug heat 0 => 2
2021-08-24 12:10 p_teichmann Changeset attached => LimeSurvey master f4b1de29
2021-08-24 12:10 p_teichmann Note Added: 66109
2021-08-24 12:10 p_teichmann Bug heat 2 => 4
2021-08-24 12:10 p_teichmann Resolution open => fixed
2021-08-24 17:07 Changeset attached => LimeSurvey master 8ec2a768
2021-08-24 17:07 guest Note Added: 66116
2021-08-24 17:07 guest Bug heat 4 => 6
2021-08-25 11:14 c_schmitz Status assigned => resolved
2021-09-06 09:31 c_schmitz Status resolved => closed
2021-09-07 09:57 c_schmitz Changeset attached => LimeSurvey 3.x-LTS 45033c2e
2021-09-07 09:57 c_schmitz Note Added: 66371
2021-09-07 09:57 c_schmitz Bug heat 6 => 8
2021-09-07 09:57 c_schmitz Assigned To p_teichmann => c_schmitz
2021-09-07 09:57 c_schmitz Relationship added has duplicate 17574
2021-09-07 09:57 c_schmitz Bug heat 8 => 14
2021-09-07 17:58 c_schmitz Relationship added has duplicate 17577
2021-09-07 17:58 c_schmitz Bug heat 14 => 22