LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
07679Feature requests[All Projects] Authenticationpublic2013-03-18 20:272013-08-27 09:04
Reporteruser20647 
Assigned Tomdekker 
PrioritynormalSeverity@50@ 
StatusclosedResolutionno 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.

Thanks,
Stephanie
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (24961)
mdekker (developer)
2013-04-16 10:39

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.
User avatar (25116)
bebs (reporter)
2013-04-24 13:43

Please consider OpenID as a good general alternative too. I have no code though.
User avatar (26092)
mdekker (developer)
2013-08-27 09:04

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+


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker