Welcome, Guest
Username: Password: Remember me

TOPIC: LDAP authentication in LS 2.00+

LDAP authentication in LS 2.00+ 1 year 11 months ago #86212

Hi,

I've been using a LS 1.92 setup with LDAP authentication via web server for sometime now. So far everything worked fine by using the instructions in the LS LDAP settings wiki article.

I'm now in the process of testing the LS 2.00+ upgrade and noticed the config files have suffered some changes, which means the LDAP settings require some changes too.

I've been debugging the source code and asked for help in the #limesurvey IRC channel (nickname gerundio) for a few days but still wasn't able to come up with a solution.

Thanks in advance for anyone who can help me out on this,
Rolando Isidoro
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 11 months ago #86215

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
I will try to point our Limesurvey 1.x LDAP expert to this but I'm not sure if he will be able to help.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 11 months ago #86218

  • lemeur
  • lemeur's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 31
  • Karma: 15
rolando_isidoro wrote:
LDAP authentication via web server

Hi,
Just to be sure, are you talking about either:
1- Delegating authentication for the LS admin GUI to your WebServer (using for instance mod_authnz_ldap)
2- Or, configuring LS to use LDAP to import tokens in order to manage participants ?

Thibault
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 11 months ago #86220

Hi,

I meant door #1 - Delegating authentication for the LS admin GUI to your WebServer (using for instance mod_authnz_LDAP).

Rolando Isidoro
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 11 months ago #86349

Hi, just a little update on this topic.

I've spent some more time looking into the source code trying to figure out how to make this to work in the new version, but I'm realizing it just isn't possible yet.

I performed a grep on LS 1.92 source code and found references to the useWebserverAuth setting in the following files:
  • admin/usercontrol.php
  • common_functions.php
  • config.php
  • config-defaults.php

I made the same search on LS 2.00+ source code and this was the result:
  • application/config/config-defaults.php
  • application/controllers/admin/useraction.php

A closer look at the source code shows that the reference in the useraction.php is just related to whether or not to send an email upon a user creation.

Mazi, lemeur, any new thoughts on this?

Thanks in advance,
Rolando Isidoro
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 11 months ago #86695

  • chinaski
  • chinaski's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 0
I'm using LDAP authorization as well in a 1.9+ setup (web server handles authentication).I won't be able to migrate unless this piece of the puzzle works in v 2+.
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 11 months ago #87233

  • hermann
  • hermann's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hello Everyone

Sorry Rolando I cannot help you with that but I want to confirm this problem: When installing LimeSurvey I decided to take the 2.00+ Version. But now I am quite surprised to find useWebserverauth not working! I did the same as you did (searching the code for useWebserverauth and found the same as you did)...

Do I really have to downgrade to below 2.0 to get this feature?
Or may I be able to port the working implentation in 1.9 to 2.0?

Greetings
Hermann
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 10 months ago #87367

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
Could you please add this to our bug tracker and put a link to this topic in the bugtracker (and maybe put a link here to the relevant bug) so it won't get lost?
---
Menno Dekker
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 9 months ago #89958

  • nicktruch
  • nicktruch's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 23
  • Karma: 0
Any update concerning this topic ? How can we move on ?

Can somebody in LimeSurvey team can give us some clues so that we can get organized and maybe find a solution : developing a patch, doing some testing ... ?

Nicolas

PS. Did somebody add this to bug tracker as mdekker asked ?
The administrator has disabled public write access.

Re: LDAP authentication in LS 2.00+ 1 year 9 months ago #89978

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
EDIT:
It seems all is related to web auth and that has serval bugs (all closed)

bugs.limesurvey.org/view.php?id=7049
bugs.limesurvey.org/view.php?id=7021
bugs.limesurvey.org/view.php?id=6938
bugs.limesurvey.org/view.php?id=6871
bugs.limesurvey.org/view.php?id=6828

If still an issue, feel free to open a new ticket in our bugtracker.
---
Menno Dekker
Last Edit: 1 year 9 months ago by mdekker.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.122 seconds
Donation Image