Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Search Results (Searched for: ldap)

19 Jun 2026 08:37
Hallo,
ich habe natürlich schon ein logfile konfiguriert.
Code:
'log' => array(
                  'class'=>'CLogRouter',
                  'routes' => array(
                    array(
                        'class' => 'CFileLogRoute',
                        'levels' => 'info, warning, error',
                        'categories'=>'system.*',
                        'logFile' => 'lime.log',
                        'logPath' => 'xxx',
                    ),
                  ),
                ),

Ich finde im log aber keine informationen zum ldap.
Es geht mir um den ldap, der mit ldap.php konfiguriert wird.
Code:
// Update default LimeSurvey config here
                'enableLdap'=>true,

Ist natürlich gesetzt.

Ich finde in einer Umfrage auch den Punkt, Teilnehmer aus dem ldap hinzuzufügen. Es wird auch die Bezeichnung für die Query angezeigt.

Mit welcher Einstellung für das logfile kann ich Meldungen zum ldap im log finden?
18 Jun 2026 07:46
Bitte helfen Sie uns, Ihnen zu helfen und füllen Sie folgende Felder aus:
Ihre LimeSurvey-Version: 6.17.8
Eigener Server oder LimeSurvey-Cloud: eigener Server
Genutzte Designvorlage:
==================
Hallo,
ich habe in der config eine ldap-Server konfiguriert.

Wenn ich jetzt in einer Umfrage die Teilnehmer aus dem LDAP hinzufügen möchte, dann gibt es einen Verbindungsfehler.

Gibt es irgendweine Möglichkeit festzustellen, warum der Verbindungsfehler passiert? Ich suche nach sowas wie ein Logfile.

Gruß Karl-Heinz
16 Oct 2025 04:14 - 16 Oct 2025 04:15
Hi Denis, thanks for the reply.

I’ve the latest version with the PR applied (github.com/LimeSurvey/LimeSurvey/pull/4217), and I confirmed that my ldap_helper.php matches the updated code. My LDAP plugin config is also correct: use_start_tls = false, LDAPv3, port 636 for LDAPS, proper bind DN and password.

Despite this, I still can’t login via LDAPS—connections to port 636 work from the server (IIS) using PHP test scripts, and normal LDAP (389) works. 

Could anyone advise on further steps to debug or confirm LDAPS is fully functional in LimeSurvey?

Thanks in advance.
15 Oct 2025 10:42 - 15 Oct 2025 10:48
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.15.15
Own server or LimeSurvey hosting: Own Server
Survey theme/template: Default
==================
I’ve set up LimeSurvey on IIS in an air-gapped Windows Server 2022 environment with Active Directory and MySQL. LDAP (port 389) authentication works fine, but switching to LDAPS (636) fails with the error “Can’t contact LDAP server.”
What I’ve done so far:
  • Environment:
    • VM1 – Domain Controller (dc01.survey.local) with CA installed
    • VM2 – IIS + LimeSurvey
    • VM3 – MySQL
    • VM4 – Client for testing
  • Verified LDAPS from VM1:
    • ldp.exe connects successfully to dc01.survey.local:636
    • PowerShell test with [System.DirectoryServices.Protocols.LdapConnection] works
    • PHP test (openssl + ldap_connect) still fails with "Can't connect to LDAP server"
  • Certificates:
    • DC has a cert issued by the internal CA using the Domain Controller template
    • Subject is empty but SAN includes dc01.survey.local, survey.local, and SURVEY
    • Verified with certutil that the CA cert is trusted on the IIS server
    • openssl_x509_parse() returns the parsed array successfully
  • LimeSurvey config:
    • LDAP server: ldaps://192.168.163.129
    • Port: 636
    • LDAP version: 3
    • StartTLS: off (tested both on/off)
    • Referrals: off
    • Bind DN: CN=Administrator,CN=Users,DC=survey,DC=local
    • Base DN:CN=Users,DC=survey,DC=local
    • Attribute: sAMAccountName

All LDAPS tests from OS level succeed, but LimeSurvey cannot connect, returning “Can’t contact LDAP server.”

Has anyone successfully configured LDAPS for LimeSurvey on IIS/Windows Server with AD?
10 Oct 2025 12:33 - 10 Oct 2025 12:34
Replied by Mazi on topic LDAP authorization
Thanks a lot for sharing your solution!

We have also included the mentioned fix at our plugin variation. If you are interested in an advanced version of the LDAP plugin which supports an automatic update of user full name and email address at every login, check this free Auth LDAP LimeSurvey Plugin:
survey-consulting.com/product/extended-a...p-limesurvey-plugin/
10 Oct 2025 12:30
Replied by Mazi on topic LDAP Authenticated Bind
If you are interested in an advanced version of the LDAP plugin which supports an automatic update of user full name and email address at every login, check this free Auth LDAP LimeSurvey Plugin:
survey-consulting.com/product/extended-a...p-limesurvey-plugin/
18 Sep 2025 16:02 - 18 Sep 2025 16:03
OK !

Dans ce cas : je fais de l'authentification par participant et donc rempli les attributs

gitlab.com/SondagesPro/TokenManagement/LdapTokenAuthenticate
gitlab.com/SondagesPro/TokenManagement/W...verTokenAuthenticate

Sinon, sans passer par les token : github.com/LimeSurvey/LimeSurvey/blob/e4...ger_helper.php#L4651 tenter de remplir la session 
Code:
$_SESSION['survey_1234']['startingValues']['1234X123X123'] = 'value'
 
Displaying 1 - 10 out of 10 results.

Lime-years ahead

Online-surveys for every purse and purpose