Welcome to the LimeSurvey Community Forum

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

Enable LDAP

  • testls
  • testls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #176882 by testls
Enable LDAP was created by testls
Hi,

LimeSurvey is installed with Version 3.15.2. I would like to enable LDAP bit it's not working.

I choose these settings.
- simple bind
- username prefix: uid=
- username suffix: domain.com
- base dn for group restricition: ou=Groups,dc=domain,dc=com
- filter for group restriction: (&(cn=LimeSurveyGroup)(memberUid=$username))

Do I miss something?

Thanks for you help.
F.
The topic has been locked.
  • testls
  • testls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #177348 by testls
Replied by testls on topic Enable LDAP
Any help?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago - 5 years 4 months ago #177352 by DenisChenu
Replied by DenisChenu on topic Enable LDAP
We don't know :
- Your LimeSurvey version and build number
- Your LDAP server version and type
- Your LDAP configuration

Then : no help can be done

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 years 4 months ago by DenisChenu.
The topic has been locked.
  • testls
  • testls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #177358 by testls
Replied by testls on topic Enable LDAP
Version 3.15.2+181107
LDAP with Active Directory 2012

LDAP configuration:
- ldap server: myldap.domain.com - port 389
- ldapv3
- simple bind
- username prefix uid=
- username suffix @domain.com
- optional base group "ou=groups,dc=domain,dc=com
- optional filter for group (&(cn=LimeSurveyGroup)(memberUid=$username))
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #177359 by DenisChenu
Replied by DenisChenu on topic Enable LDAP
manual.limesurvey.org/Authentication_plu...s_AD2008_.26_2.05.2B

I don't think simple bind work with AD.

For starting : remove the filter.

And here : it's not your LDAP configuration : it's the configuration you set on LimeSurvey …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • testls
  • testls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #177362 by testls
Replied by testls on topic Enable LDAP
how to configure ldap in php.ini? Have you some examples?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #177365 by DenisChenu
Replied by DenisChenu on topic Enable LDAP

testls wrote: how to configure ldap in php.ini? Have you some examples?

:dry:
I think you need to learn LDAP before …

Start by wikipedia : en.wikipedia.org/wiki/Lightweight_Direct...#Directory_structure
en.wikipedia.org/wiki/Lightweight_Direct...l#Search_and_Compare

If you don't know how to do this with your LDAP : you can't do it with LimeSurvey

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • testls
  • testls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago - 5 years 4 months ago #177449 by testls
Replied by testls on topic Enable LDAP
I enabled ldap in config.php but do I have to modify the ldap settings in ldap.php?
Last edit: 5 years 4 months ago by testls.
The topic has been locked.
  • testls
  • testls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #177474 by testls
Replied by testls on topic Enable LDAP
Good news, I can connect with a ldap login!

But when I use a group in limesurvey plugin config, it's not working...

I made some tests with Optional base DN for group restriction and Optional filter for group restriction settings.

Any idea?
The topic has been locked.
More
5 years 3 months ago #178604 by informaticagabadi
Replied by informaticagabadi on topic Enable LDAP
How do you do that this plugin work?

I mean...

I config the plugin, but i don't know how to use it for user login to answer surveys. I don't see any "LDAP Login to survey" option.

And the manual is only for config...
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #178610 by DenisChenu
Replied by DenisChenu on topic Enable LDAP

informaticagabadi wrote:
And the manual is only for config...

False
manual.limesurvey.org/Authentication_plugins#LDAP

It's for plugin config : no need to updatebany php file.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
5 years 3 months ago - 5 years 3 months ago #178612 by informaticagabadi
Replied by informaticagabadi on topic Enable LDAP
Yes, but i don't see how to select it for login option for users.

When i enable a survey, the user has to have a password in order to send the invitation mail (I have imported all users before).

On the user side, they have the link to access directly to the survey or the option to enter to the main web, select the survey and sing up.... but no LDAP option...

That is what i mean when i say that there is no info on the manual for LDAP use.
Last edit: 5 years 3 months ago by informaticagabadi.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose