Welcome, Guest
Username: Password: Remember me

TOPIC: ldap plugin configuration

ldap plugin configuration 8 months 1 week ago #101545

  • zmn
  • zmn's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hello,
I'm trying to configure LDAP authentication.

I can't understood how to configure it.
There are two options for configure LDAP - server and domain name.

I've written these options but i can't enter with LDAP user.

I expected to see BaseDN option, and I expected to add LDAP users and groups to the system and configure their permissions. But I saw only two options.

As we consider the plugin I think that options described here (
manual.limesurvey.org/LDAP_settings
manual.limesurvey.org/Optional_settings#Authentication
)
are ignored, aren't they?


The second issue is I can't disable this plugin. After I enable it, I can't disable it.

Has anybody configured LDAP in limesurvey?? Could anybody explain how I can do it?
The administrator has disabled public write access.

ldap plugin configuration 8 months 1 week ago #101582

  • zmn
  • zmn's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
zmn wrote:
The second issue is I can't disable this plugin. After I enable it, I can't disable it.

As I see here manual.limesurvey.org/Core_plugins - plugin cannot be disabled.
Last Edit: 7 months 3 weeks ago by c_schmitz.
The administrator has disabled public write access.

ldap plugin configuration 8 months 1 week ago #101583

  • zmn
  • zmn's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
zmn wrote:
I've written these options but i can't enter with LDAP user.
I think it can be an error: "Unable to bind to server: Invalid DN syntax"
Last Edit: 8 months 1 week ago by zmn. Reason: dlete line
The administrator has disabled public write access.

ldap plugin configuration 7 months 3 weeks ago #102095

  • Bolli
  • Bolli's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Yes, it seems there is something wrong with your LDAP config? The Serverurl must be valid and if there is an global LDAP user you must take it. We use LDAP at work and it works fine (v1.91).
The administrator has disabled public write access.

ldap plugin configuration 4 months 2 weeks ago #106140

  • Concordia
  • Concordia's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Hi,

I would ask you to see this post I made:
www.limesurvey.org/en/forum/plugins/9596...gin-authldap-help-me

... I got LDAP working and then I even updated the wiki:
manual.limesurvey.org/LDAP_settings
Enabling and Configuring Settings for plugin AuthLDAP v2.05+

It seems someone deleted the work I did in the wiki... WHY???????? I don't know???

Read my post and let me know if that helps.
The administrator has disabled public write access.

ldap plugin configuration 4 months 2 weeks ago #106141

  • Concordia
  • Concordia's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Looking in the Wiki history, C schmitz reverted the following that I posted in the Wiki.
manual.limesurvey.org/index.php?title=LD...tings&action=history

Enabling and Configuring Settings for plugin AuthLDAP v2.05+

Enable LDAP in PHP.INI.
Verify that phpinfo.php shows that LDAP is enabled.
Go to LimeSurvey Plugin Manager.
Configure LDAP plugin.
Example settings:
LDAP server e.g. LDAP://LDAP.mydomain.com: LDAP://LDAP.mydomain.com
Port number (default when omitted is 389):
LDAP version (LDAPv2 = 2), e.g. 3: 3
Username prefix cn= or uid=: cn=
Username suffix e.g. @mydomain.com or remaining part of LDAP query: ,OU=people,DC=mydomain,DC=com
Create a LimeSurvey administrator with the same name as a AD(active directory) user account.
Log in using the AD credentials(username and password).
The administrator has disabled public write access.

ldap plugin configuration 4 months 1 week ago #106155

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6205
  • Thank you received: 787
  • Karma: 238
zmn wrote:
zmn wrote:
The second issue is I can't disable this plugin. After I enable it, I can't disable it.

As I see here manual.limesurvey.org/Core_plugins - plugin cannot be disabled.
Fixed now.

And i think we have a new plugin or we update the existing core plugin for a future release (Thanks to Thibault).
The administrator has disabled public write access.

ldap plugin configuration 3 months 2 weeks ago #107400

  • zmn
  • zmn's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Concordia wrote:
Hi,

I would ask you to see this post I made:
www.limesurvey.org/en/forum/plugins/9596...gin-authldap-help-me

... I got LDAP working and then I even updated the wiki:
manual.limesurvey.org/LDAP_settings
Enabling and Configuring Settings for plugin AuthLDAP v2.05+

It seems someone deleted the work I did in the wiki... WHY???????? I don't know???

Read my post and let me know if that helps.

As I understood the settings below are used only for tokens, but not for authentication
$serverId=0;
$LDAP_server[$serverId] = "server.somefakedomain.ca";
$LDAP_server[$serverId] = "ldapv2";
$LDAP_server[$serverId] = "ldaps";
$LDAP_server[$serverId] = false;
$LDAP_server[$serverId] = "CN=iits_portal,OU=Roles,DC=somefakedomain,DC=ca";
$LDAP_server[$serverId] = "somepass";

I know only one way to make LDAP authntication, using webserver authentication. It described here: www.limesurvey.org/en/forum/plugins/9633...ion-on-centos-apache.
But here are some problems - sometimes I logout and can't login again and I don't know why (I suspect that something wrong with $__SERVER[PHP_AUTH_USER] or cookies, but I am not sure).

And I configured my system the same.


Concordia wrote:
Looking in the Wiki history, C schmitz reverted the following that I posted in the Wiki.
manual.limesurvey.org/index.php?title=LD...tings&action=history

Enabling and Configuring Settings for plugin AuthLDAP v2.05+

Enable LDAP in PHP.INI.
Verify that phpinfo.php shows that LDAP is enabled.
Go to LimeSurvey Plugin Manager.
Configure LDAP plugin.
Example settings:
Ldap server e.g. ldap://ldap.mydomain.com: ldap://ldap.mydomain.com
Port number (default when omitted is 389):
LDAP version (LDAPv2 = 2), e.g. 3: 3
Username prefix cn= or uid=: cn=
Username suffix e.g. @mydomain.com or remaining part of ldap query: ,OU=people,DC=mydomain,DC=com
Create a LimeSurvey administrator with the same name as a AD(active directory) user account.
Log in using the AD credentials(username and password).

Yes, I see that there is a special plugin for authentication by Menno Dekker manual.limesurvey.org/Authentication_plugins
github.com/LimeSurvey/LimeSurvey/blob/ma...uthLDAP/AuthLDAP.php

I have configured and start it, but it doesn't work (limesurvey205plus-build140404). tcpdumpd don't capture anything. I afraid that I haven't done something, but I don't know what.

Have anyone check the work of this plugin?
Last Edit: 3 months 2 weeks ago by zmn.
The administrator has disabled public write access.
Time to create page: 0.136 seconds
Donation Image