Active Directory Authentication

Allows WordPress to authenticate users through Active Directory

Author:Jonathan Marc Bearak (profile at wordpress.org)
WordPress version required:2.5.1
WordPress version tested:3.0.4
Plugin version:1.0.5
Added to WordPress repository:
Last updated:04-09-2008
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://soc.qc.edu/jonathan/wordpress-ad-auth
Total downloads:8 775
Active installs:100+
This plugin allows WordPress to authenticate users against an Active Directory domain. It is very easy to set up. Just activate the plugin, type in a domain controller, and you're done. You can use this plugin in a few different ways. (a) You can create WordPress accounts which match the names of your AD accounts, and create these users from within the WordPress Users panel. Only the users you create in WordPress will be able to log in. (b) You can tick a checkbox so that anyone who can authenticate via AD can log on. A WordPress account will be automatically created for the user if one does not already exist, with the default user role. (c) You can list the names of Active Directory groups who you want to allow to log on to WordPress. For each group in Active Directory, you can specify a corresponding WordPress user role. (I find this to be very useful along with the "Role Management" plugin.) You can also combine the above however you like. I wrote this plugin because, first of all, I was surprised that there does not seem to be a working Active Directory authentication plugin for WordPress. I was especially surprised after writing this plugin, for, as someone relatively new to WordPress, I was shocked to see how easy this was to write. More seriously, though, I am a student at Queens College (http://qc.cuny.edu) and I also work in the Sociology department, and thought this would be a good idea to have a single-sign-on system for editing the department's website. "Active Directory Authentication" is based upon Daniel Westermann-Clark's "HTTP Authentication" plugin (http://wordpress.org/extend/plugins/http-authentication/) and Scott Barnett's "adLDAP", a very useful PHP class (http://adldap.sourceforge.net/). WordPress documentation was not particularly helpful in writing this, and Westerman-Clark's plugin was an invaluable starting point. Barnett's adLDAP is something I've used over and over again. Both deserve thanks for their work, without which I do not know if I would have been able to write this.