This plugin allows WordPress to authenticate users against an LDAP.
To tell the truth, this is a hard modified version of Active Directory Authentication plugin.
Active Directory Authentication plugin and it’s back-end (adLDAP) require AD domain, in contrast, this plugin only needs LDAP server.
It is very easy to set up. Just activate the plugin, type in a LDAP server, and you’re done.
How to use
You can use this plugin in a few different ways.
You can create WordPress accounts which match the names of your LDAP accounts, and create these users from within the WordPress Users panel. Only the users you create in WordPress will be able to log in.
You can tick a checkbox so that anyone who can authenticate via LDAP can log on. A WordPress account will be automatically created for the user if one does not already exist, with the default user role.
You can list the names of LDAP groups who you want to allow to log on to WordPress. For each group in LDAP, you can specify a corresponding WordPress user role.
You can also combine the above however you like.
- Add `Role Equivalent Groups Editor’ GUI.
- Add reset button to initialize the options.
- Add support to anonymous LDAP bind for user ID searching.
- Fixed debug log message.
- Fixed a bug that user ID filter didn’t work.
- Update readme.txt.
- Add screenshots.
- Initial release.
- Login as an existing user, such as admin.
- Upload the folder named
simple-ldap-authenticationto your plugins folder, usually
- Activate the plugin on the Plugins screen.
- Enable the “Admin SSL” plugin (or anything that redirects the logon page to an SSL connection) so that your passwords are not sent in cleartext.
- If the version of Admin SSL is 1.4.1, you should apply the redirection bug patch.
Note: This plugin has only been tested with WordPress 2.7.1 and above, and I do not think it will work on older versions of WordPress.
- This plugin supports Active Directory?
This plugin only supports LDAP bind.
- Can I use SSL on LDAP connection?
You can enable SSL connection in the option page.
- Can I customize LDAP search filter?
You can customize the search filters (user ID and group) in the option page.
- How do I use debug mode?
This plugin has a built-in debug mode.
WP_DEBUGis enabled in
wp-config.php, it will turn on the notices that some authenticatin information are added on the log entry.
If you don’t know how to define the constant, see WordPress document.
Contributors & Developers
“Simple LDAP Authentication” is open source software. The following people have contributed to this plugin.Contributors