View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07679Feature requestsAuthenticationpublic2013-08-27 09:04
Reporteruser20647Assigned Tomdekker  
PrioritynormalSeverity@50@ 
Status closedResolutionno change required 
Summary07679: LDAP User Authentication
Description

I'd like to be able to authenticate users with LDAP. I wrote some code that does this a few months ago, but I'm not sure how best to test it with the current codebase.

The code works as follows:

In application/config there is a "ldap-auth.php" file where you can configure things like binddn, bind password, ldap filters for users, what limesurvey user to make parent of a new ldap user, and a few other ldap specific values.

There are also changes to application/core/UserIdentity.php . Basically, if the config has "enableLdapAuth" set to true, it uses an authenticateLdap function to authenticate the username and password given. If enableLdapAuth is not true, it proceeds as usual.

There's more to this that I'd like to be able to show you. Before I go further though, I'd like to know if this is a feature that sounds worth pursuing, and if so, what branch on GitHub I should be testing this with.

Thanks,
Stephanie

TagsNo tags attached.
Bug heat6
Story point estimate
Users affected %

Users monitoring this issue

odesport

Activities

mdekker

mdekker

2013-04-16 10:39

reporter   ~24961

Please check out the 2.05 branch which is currently beta. We have plugins for authentication there, and ldap is one of them. It is just a first working draft, but it seems you have much more ready. If you would like to contribute, please do a pull request on the 2.05 branch. If you need help, just let me know.

bebs

bebs

2013-04-24 13:43

reporter   ~25116

Please consider OpenID as a good general alternative too. I have no code though.

mdekker

mdekker

2013-08-27 09:04

reporter   ~26092

In 2.05 there is a plugin system for authentication, and a basic ldap plugin will be provided

Issue History

Date Modified Username Field Change
2013-03-18 20:27 user20647 New Issue
2013-03-20 10:38 odesport Issue Monitored: odesport
2013-04-11 18:53 DenisChenu Assigned To => mdekker
2013-04-11 18:53 DenisChenu Status new => assigned
2013-04-16 10:39 mdekker Note Added: 24961
2013-04-24 13:43 bebs Note Added: 25116
2013-08-27 09:04 mdekker Note Added: 26092
2013-08-27 09:04 mdekker Status assigned => closed
2013-08-27 09:04 mdekker Resolution open => no change required
2013-08-27 09:04 mdekker Fixed in Version => 2.05+