Plugin Directory

Simple LDAP Login

Integrating WordPress with LDAP shouldn't be difficult. Now it isn't. Simple LDAP Login provides all of the features, none of the hassles.

Version 1.6.0

  • New filter sll_remove_default_authentication_hook lets you override local password fallback.
  • Lots of new features from various pull requests from contributing users. Most of these focus on new settings for edge cases, and some general improvements.
  • If we did our jobs right, nothing will break. But if it does, rolling back to 1.5.5 is the best place to start.

Version 1.5.5

  • Fix syntax error.
  • Don’t sanitize user info.

Version 1.5.4

  • Local admins will always fall back to local WP password.
  • Fixes bug where new users do not have name or other information from LDAP directory

Version 1.5.3

  • Fixing apparent security problem with blank passwords. (!)
  • Fixing typo in filter name (did not affect any functionality)
  • Local admin exception coming soon, as well as more bug fixes.
  • Possible fix for login error upon arriving at login page when LDAP exclusive enabled.

Version 1.5.2

  • Fixed bug with groups setting.
  • Removed delete_option references in upgrade code to allow for easier rollbacks (sorry about that!)
  • Fixed a few bugs in the user creation code.
  • Fixed bug with storing default user role.

Version 1.5.1

  • Fixed a bug where the domain controllers are passed as a string.

Version 1.5

  • Complete rewritten from the ground up.
  • It's Object Oriented, DRY and Singleton.
  • The options have been overhauled to make configuration much easier. Focuses on individual features rather than "modes" that encapsulate several behaviors.
  • Admin pages now use WordPress admin styles and behaviors.
  • Tested with Active Directory. I recommend OpenLDAP users test carefully before implementing in their production environments.
  • Added global on off switch so you can easily disable LDAP authentication without deactivating.


  • I broke it. Sorry guys! :(
  • Downgraded adLDAP as some referenced functions no longer exist.


  • Updated adLDAP to version 4.x
  • Fixed error in OpenLDAP group membership check
  • As always TEST this first. Don't assume it works...I don't have a testing environment to ensure it will work correctly.


  • Fixes nickname bug accidentally put back in in last version. (My bad!)

Version * Reverts bug introduced in * If you installed and use OpenLDAP, please update as soon as possible and verify users cannot login with incorrect passwords (and vice versa).

Version - Patches submitted by Jonas Genannt and Ilya Kozlov * Updates adLDAP to 3.3.2 * Fixes issue with users in recursive OUs not being found. * Fixes issues with different Base DN formats. * NOTE: Please be catious in updating. As I don't have an OpenLDAP install, I am unable to independently confirm these fix the problems. If you have issues, revert to and e-mail me: clifgriffin[at]gmail.com. Likewise, If you can confirm these changes are effective, also let me know. :)


  • Fix for e-mail exists issue with WP 3.0+ for LDAP installations that don't populate the e-mail address attribute.
  • Shows actual error message from WordPress upon failure.

Version 1.4

  • First update in about a year. Thanks for your patience.
  • Completely rewritten to support changes in WordPress 2.8+. Now fully supports WordPress 3.0.
  • Much more manageable and efficient code structure. Less code repetition.
  • Includes TLS support.
  • Allows OpenLDAP users to specify an alternate LDAP attribute to use for logins for those not using UID.


  • Test form now implements wp_authenticate and uses the same routines as the actual login. This also means account creation and group membership are tested.
  • Implemented stripslashes() to correct issue with some special characters such as a single quote and backslash.
  • WordPress account "admin" is now allowed to login using local password even when security mode is set to high. For safety.
  • Made some minor wording changes to the admin panel.


  • Fixed case sensitivity issue that could result in multiple accounts. There may be lingering case insensitivity issues due to the get_userdatabylogin function being case-sensitive. We'll figure this out in due time.
  • Sorry for posting two updates on the same day!


  • Fixes several tickets including role assignment, case sensitivity, and potential compatibility issues with other themes/plugins.
  • Added security mode setting to allow security to be tightened.
  • Changed auto created accounts to use a random password rather than the LDAP password given.
  • Fixed error with the way announcements are displayed in the admin panel.
  • More code clean up.


  • Never officially released.
  • Contained code cleanup and some attempted fixes.

Version 1.3 Beta

  • Support for both Active Directory and OpenLDAP.
  • The ability to create WordPress users automatically upon login based on LDAP group membership OR by LDAP authentication alone.
  • The ability to test domain settings straight from admin panel.
  • Announcements pane that allows me to update you with fixes, cautions, new beta versions, or other important information.


  • Changed required user level for admin page to 10, Administrators only.

Version 1.2

  • Implemented multiple domain controllers.
  • Changed field sizes on admin page to be more user friendly.

Version 1.1

  • Moved settings to administration pages under settings.
  • Upgraded to latest version of adLDAP 2.1.
  • Got rid of credentials. (They are not neccessary for the authenticate function in adLDAP!)
  • Plugin is now upgrade proof. Settings are stored using WordPress's setting functions.

Version 1.0

  • Original release.

Requires: 3.4 or higher
Compatible up to: 4.6.0
Last Updated: 12 hours ago
Active Installs: 3,000+


4.3 out of 5 stars


0 of 2 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,3,3 100,1,1
50,2,1 100,1,1
100,1,1 100,1,1
50,2,1 100,1,1
100,1,1 75,4,3 100,1,1
100,2,2 100,1,1
0,2,0 0,1,0 100,2,2