View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|07679||Feature requests||[All Projects] Authentication||public||2013-03-18 20:27||2013-08-27 09:04|
|Status||closed||Resolution||no change required|
|Target Version||Fixed in Version||2.05+|
|Summary||07679: 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.
|Tags||No tags attached.|
|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.|
|Please consider OpenID as a good general alternative too. I have no code though.|
|In 2.05 there is a plugin system for authentication, and a basic ldap plugin will be provided|
|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+|