Welcome to the LimeSurvey Community Forum

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

LDAP Plugin on 2.50+

  • mircsicz
  • mircsicz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #133012 by mircsicz
LDAP Plugin on 2.50+ was created by mircsicz
I've configured the LDAP Plugin on two different way's. Used the WebIF and ldap.php

With the configuration from Plugin-Manager I get a connect to my LDAP-Server:
Code:
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 fd=20 ACCEPT from IP=[::1]:38626 (IP=[::]:389)
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=0 BIND dn="cn=admin,dc=mydom,dc=org" method=128
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=0 BIND dn="cn=admin,dc=mydom,dc=org" mech=SIMPLE ssf=0
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=0 RESULT tag=97 err=0 text=
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=1 SRCH base="ou=Users,ou=de,dc=mydom,dc=org" scope=2 deref=0 filter="(uid=myUID)"
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=1 SRCH attr=uid
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=2 BIND anonymous mech=implicit ssf=0
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=2 BIND dn="cn=00141,ou=Users,ou=de,dc=mydom,dc=org" method=128
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=2 BIND dn="cn=00141,ou=Users,ou=de,dc=mydom,dc=org" mech=SIMPLE ssf=0
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=2 RESULT tag=97 err=0 text=
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 op=3 UNBIND
Mar 14 00:36:48 websrv02 slapd[23676]: conn=55561 fd=20 closed

But the WebIF tell's me that the username/password don't match...

Next I tried to configure ldap.php but even though I've set "'enableLdap'=>true," in config.php there's neither an LDAP option on the admin login screen nor does it connect to the LDAP Server.

So how can I further debug that?
The topic has been locked.
More
7 years 4 weeks ago #160923 by lob
Replied by lob on topic LDAP Plugin on 2.50+
I have the same issue. Did you solve your problem meanwhile?
The topic has been locked.
  • mircsicz
  • mircsicz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 weeks ago #161401 by mircsicz
Replied by mircsicz on topic LDAP Plugin on 2.50+
No, couldn't solve it... running it for a charity and currently it's only me maintaining it. But hope it'll be possible in the future
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 2 days ago #161902 by DenisChenu
Replied by DenisChenu on topic LDAP Plugin on 2.50+
If i remind LDAP.php is only used for importing user to token table via LDAP not for Auth.

Auth can be complicated to find the good params, but looking at an LDAP account can help Maybe it's not uid for the username here for example.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose