Enable LDAP

More
1 year 3 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.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 year 2 months ago #177348 by testls
Replied by testls on topic Enable LDAP
Any help?

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago - 1 year 2 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 .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 1 year 2 months ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
1 year 2 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))

Please Log in or Create an account to join the conversation.

More
1 year 2 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #177362 by testls
Replied by testls on topic Enable LDAP
how to configure LDAP in php.ini? Have you some examples?

Please Log in or Create an account to join the conversation.

More
1 year 2 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago - 1 year 2 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: 1 year 2 months ago by testls.

Please Log in or Create an account to join the conversation.

More
1 year 2 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?

Please Log in or Create an account to join the conversation.

More
1 year 1 month 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...

Please Log in or Create an account to join the conversation.

More
1 year 1 month 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month 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: 1 year 1 month ago by informaticagabadi.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #178620 by DenisChenu
Replied by DenisChenu on topic Enable LDAP
Login => only for Admin in LimeSurvey

Participant : token

Solution : plugin : beforeRegister for example

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 1 year 1 month ago by DenisChenu.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!