Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : ldap plugin configuration

ldap plugin configuration il y a 9 mois 2 semaines #101545

  • zmn
  • Portrait de zmn
  • Hors ligne
  • Fresh Lemon
  • Messages : 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?
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 9 mois 2 semaines #101582

  • zmn
  • Portrait de zmn
  • Hors ligne
  • Fresh Lemon
  • Messages : 4
  • Karma: 0
zmn écrit:
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.
Dernière édition: il y a 8 mois 4 semaines par c_schmitz.
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 9 mois 2 semaines #101583

  • zmn
  • Portrait de zmn
  • Hors ligne
  • Fresh Lemon
  • Messages : 4
  • Karma: 0
zmn écrit:
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"
Dernière édition: il y a 9 mois 2 semaines par zmn. Raison: dlete line
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 8 mois 4 semaines #102095

  • Bolli
  • Portrait de Bolli
  • Hors ligne
  • Fresh Lemon
  • Messages : 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).
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 5 mois 2 semaines #106140

  • Concordia
  • Portrait de Concordia
  • Hors ligne
  • Junior Lime
  • Messages : 21
  • Remerciements reçus 3
  • 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.
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 5 mois 2 semaines #106141

  • Concordia
  • Portrait de Concordia
  • Hors ligne
  • Junior Lime
  • Messages : 21
  • Remerciements reçus 3
  • 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).
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 5 mois 2 semaines #106155

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6272
  • Remerciements reçus 800
  • Karma: 240
zmn écrit:
zmn écrit:
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).
L'administrateur a désactivé l'accès en écriture pour le public.

ldap plugin configuration il y a 4 mois 2 semaines #107400

  • zmn
  • Portrait de zmn
  • Hors ligne
  • Fresh Lemon
  • Messages : 4
  • Karma: 0
Concordia écrit:
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 écrit:
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?
Dernière édition: il y a 4 mois 2 semaines par zmn.
L'administrateur a désactivé l'accès en écriture pour le public.
Temps de génération de la page : 0.161 secondes
Donation Image