clifgriffin / simple-ldap-login

Integrate WordPress logins with LDAP. Simply.
63 stars 56 forks source link

Plugin Name

Contributors: clifgriffin
Donate link: http://cgd.io
Tags: LDAP, authentication, login, active directory, adLDAP
Requires at least: 3.4
Tested up to: 4.5
Stable tag: 1.6.0
License: GPLv2 or later

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

Description

Having a single login for every service is a must in large organizations. This plugin allows you to integrate WordPress with LDAP quickly and easily. Like, really really easy.

Contributing This is a community project now. Most development is done by users like you who find bugs and fix them, or find new ways to make the plugin more powerful for everyone.

The easiest way to contribute to this plugin is to submit a GitHub pull request. Here's the repo: https://github.com/clifgriffin/simple-ldap-login

Support

If you need support, file an issue report here: https://github.com/clifgriffin/simple-ldap-login/issues

Special Requests

If you need a customization or change specific to your install, I am available for hire. Shoot me an e-mail: clifgriffin[at]gmail.com

Features

Architecture

Simple LDAP Login adds an authentication filter to WordPress that authentication requests must pass. In doing so, it makes several decisions.

This is high level overview. This should answer the philosophical questions about how the plugin works. If the plugin is unable to authenticate the user, it should pass it down the chain to WordPress. (Unless LDAP Exclusive is turned on, in which case it won't.)

Changelog

Version 1.6.0

Version 1.5.5

Version 1.5.4

Version 1.5.3

Version 1.5.2

Version 1.5.1

Version 1.5

Version 1.4.0.5.1

Version 1.4.0.5

Version 1.4.0.4

Version 1.4.0.3

Version 1.4.0.2 - Patches submitted by Jonas Genannt and Ilya Kozlov

Version 1.4.0.1

Version 1.4

Version 1.3.0.3

Version 1.3.0.2.1

Version 1.3.0.2

Version 1.3.0.1

Version 1.3 Beta

Version 1.2.0.1

Version 1.2

Version 1.1

Version 1.0

Installation

  1. Use the WordPress plugin directory to install the plugin or upload the directory simple-ldap-login to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Update the settings to those that best match your environment by going to Settings -> Simple LDAP Login
  4. If you don't get the settings right the first time, don't fret! Just use your WordPress credentials. They should always work
  5. Once you have the settings correct, you can toggle LDAP Exclusive mode (if you like).
  6. To make your life easier, consider using two different browsers (e.g., Chrome and Firefox) to do testing. Change settings in one. Test in the other. This will prevent any chance of being locked out.

Frequently Asked Questions

Other than WordPress, what does my system require?

Your install of PHP must be configured/compiled with LDAP support.

How do I know what the correct settings are?

I have tried to make the settings as self-explanatory as possible. If you are struggling figuring them out, you may need to speak with your LDAP administrator. I realize this is an obnoxious response, but there is no good, fool proof way to help you discover these settings. A good place to start, if you're feeling daring, might be to use ADSIEdit for Windows and Active Directory, or GQ for Linux and OpenLDAP.

It's still not working, what other things can I try?

If you are confident your settings are correct and it still does not work, it may be time to check for port or firewall issues. If your LDAP server is running on a non-standard port or an obsolete version of the LDAP protocol you are going to have issues. Port 389 is the port this plugin, and nearly every other LDAP enabled software expects. They are also expecting protocol version 3. If you are using an old version of LDAP or running a non-standard port you may need to modify the code that the plugin runs or update your LDAP installation.

Unfortunately I can't be relied upon to assist with these types of requests. I chose not to support these scenarios because they are infrequent and because they confuse everyone else.

It's still not working! How can I get help?

The easiest way to get help is to post a comment on my blog: http://clifgriffin.com/simple-ldap-login/. I'll do my best to get you up and running!

Screenshots

  1. Easy to use admin panel.
  2. Advanced options for power users.