View Issue Details

IDProjectCategoryView StatusLast Update
07679Feature requests[All Projects] Authenticationpublic2013-08-27 09:04
Reporteruser20647Assigned Tomdekker 
Status closedResolutionno change required 
Product Version 
Target VersionFixed in Version2.05+ 
Summary07679: LDAP User Authentication
DescriptionI'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.

TagsNo tags attached.




2013-04-16 10:39

developer   ~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.


2013-04-24 13:43

reporter   ~25116

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


2013-08-27 09:04

developer   ~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-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+