Webserver AUTH and LDAP

More
1 year 3 weeks ago #179567 by Juseanma_117558
Hi all,

I am using webserver authentication and it works fine. Also I can use the LDAP plugin and login with the LDAP credentials (and autocreate accounts), also fine.

No I would need to combine theses two things. Webserver Authentication (SSO)+ automatic account creation when the user is in the LDAP but has no acc yet. I found some interesting ideas in the forum but everything in 2.05 and mostly wit (it seems like) an old version of the AuthLDAP plugin where they could change things in an config file. No there is no config file for the LDAP plugin.

Maybe I miss something, but I tried a lot and did not manage to solve it so I'm looking for some help.

Bye,
efingdmi

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

LimeSurvey Partners
More
1 year 3 weeks ago #179615 by Juseanma_117558
I think the hook_get_auth_webserver_profile() would be some kind of solution, but I don't get it working. Even looking at some old forum entries, I always get a "Fatal error: Cannot redeclare hook_get_auth_webserver_profile() "

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

More
1 year 3 weeks ago #179627 by DenisChenu
Replied by DenisChenu on topic Webserver AUTH and LDAP
I thin best is to do own plugin,

Copy Authwebserver code, rename the class and the file to MyAuthwebserver, put it in plugins/MyAuthwebserver directory.

And start to hack github.com/LimeSurvey/LimeSurvey/blob/26...thwebserver.php#L100

Else i don't think hook_get_auth_webserver_profile function exist in core : you can add it in application/config/config.php

Look if you don't have one elsewhere.

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 .
The following user(s) said Thank You: Juseanma_117558

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

More
1 year 3 weeks ago #179730 by Juseanma_117558
Thanks for the idea, I will give it a try.

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!