View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20030 | Bug reports | Survey participants (Tokens) | public | 2025-03-21 11:42 | 2025-03-28 11:37 |
Reporter | ccoupeau | Assigned To | gabrieljenik | ||
Priority | none | Severity | block | ||
Status | ready for code review | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 20030: Import LDAP - Can't connect LDAP Server with ldapv3 and ldaps | ||||
Description | Hello, Since the patch Fixed in Release 6.10.3+250203 I am still forced to modify the ldap_getCnx function like this (helpers/ldap_helper.php)
by
cordially | ||||
Steps To Reproduce | Steps to reproduce(Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected result(Write here what you expected to happen) Actual result(Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.12.0 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome, Firefox, Opera | ||||
Database type & version | MySQL8 | ||||
Server OS (if known) | Rocky Linux 9 | ||||
Webserver software & version (if known) | Apache/2.4.62 | ||||
PHP Version | 8.2.28 | ||||
related to | 19856 | closed | DenisChenu | Import LDAP - error 500 - ldap_set_option |
Please : your exact settings |
|
This follows the bug: 19856 $serverId=0; |
|
Can you test with It's the way to do, looking at code : i think it don't work, but please : test and return the issue. |
|
absolutely, after testing with ['encrypt'] = 'ldaps' it doesn't work |
|
@ccoupeau : can you test https://github.com/LimeSurvey/LimeSurvey/pull/4217 with What's happen; no condition met for encrypt == ldaps and protoversion == ldapv3 |
|
With $ldap_server[$serverId]['encrypt'] = 'ldaps'; and protoversion == ldapv3 I have this error : Erreur: Ne peut se connecter à l’annuaire LDAP The only solution for me is : $ds = ldap_connect("ldaps://" " . "{$ldap_server[$server_id]['server']}:{$ldap_server[$server_id]['port']}"); $ldap_server[$serverId]['server'] = "ldap.domain"; |
|
But ? Then if you set $ldap_server[$serverId]['encrypt'] = "ldaps"; Why it don't happen for you ? |
|
You need to apply patch manually : just replace whole function With $ldap_server[$serverId]['encrypt'] = "ldap"; There are no reason this part don't happen |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-21 11:42 | ccoupeau | New Issue | |
2025-03-21 11:57 | DenisChenu | Assigned To | => DenisChenu |
2025-03-21 11:57 | DenisChenu | Status | new => assigned |
2025-03-21 11:58 | DenisChenu | Note Added: 82304 | |
2025-03-21 11:58 | DenisChenu | Bug heat | 0 => 2 |
2025-03-21 13:54 | ccoupeau | Note Added: 82305 | |
2025-03-21 13:54 | ccoupeau | Bug heat | 2 => 4 |
2025-03-21 15:07 | DenisChenu | Note Added: 82307 | |
2025-03-21 16:04 | ccoupeau | Note Added: 82308 | |
2025-03-26 09:56 | DenisChenu | Relationship added | related to 19856 |
2025-03-26 12:14 | DenisChenu | Summary | Import LDAP - Can't connect LDAP Server => Import LDAP - Can't connect LDAP Server with ldapv3 and ldaps |
2025-03-26 12:18 | DenisChenu | Note Added: 82330 | |
2025-03-27 19:58 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
2025-03-27 19:58 | DenisChenu | Status | assigned => ready for code review |
2025-03-28 11:30 | ccoupeau | Note Added: 82341 | |
2025-03-28 11:35 | DenisChenu | Note Added: 82342 | |
2025-03-28 11:37 | DenisChenu | Note Added: 82343 |