This plugin will enable WP authentication and role management from LDAP server.
Users who log in to your WP site are authenticated by first matching the
username input against an attribute to local the RDN. Then a bind is performed
against the RDN. Upon successful bind, authentication is approved. Local WP
user management is engaged by initializing and maintaining user DB records.
Simply create your users in your LDAP directly. Define access rights or “roles”
to specific WP sites. When the user logs into the WP site, the local DB user
entry is created.
Use LDAP to define users in one place for access to one or many WP sites.
User passwords in the local DB are replaced with jumbled text and are unusable.
All password information is maintained in LDAP.
User information ( Display Name, Nick Name, Nice Name, First Name, Last Name )
are maintained in master form in LDAP and stored and updated (synced) to the
local DB when the user logs in.
- Supports OpenLDAP
- Supports TLS
- syslog debugging
- Centralized roles management.
- Password expirary management.
- Password reset management in user profile.
- Works with WP Multi-Site setup.
Simple LDAP adds an authentication filter to WordPress that authentication requests must pass.
Consults LDAP for current role configuration.
Dowload the plugin to your WP site.
Enabled the plugin.
Enter LDAP configuration information from the WP-Admin Settings menu.
Test LDAP configurations from the WP-Admin Settings menu.
- Is the password expirary feature optional?
Yes. Simply leave the LDAP configuration attribute emtpy to disable this feature.
- Does the plugin offer an easy way to create new users in LDAP?
Yes. The plugin accepts a URL reference to your LDAP administration interface.
- What do I do if my users are already defined in my WP database?
Not a problem. The user_login value will be mapped in the plugin setup to an
attribute in LDAP. Create your LDAP person records with the same value on the
attribute you map to user_login. Then next time the user logs in, the LDAP will
begin to manage the records in the local DB as normal.
- Does the LDAP plugin supercede the base WP login?
Yes. Once the plugin is enabled, authentication control is passed on to the LDAP system.
Contributors & Developers
“Plugin Name: ldap_login_password_and_role_manager” is open source software. The following people have contributed to this plugin.
Interested in development?
- Feb-2011, Initial release
- Apr-2011, Patch for user create for version 3.1.1
- May-2011, added ldap_login_password_and_role_manager_updatepassword_using_rootdn() method.
- cleared ‘ldap_login_password_and_role_manager_password_is_expired’ in ldap_login_password_and_role_manager_updatepassword() method.
- May-2011, updated ldap_login_password_and_role_manager_update_wp_user() method, boolean return value was incorrect.
- May-2011, added memberidmap logic to manage LDAP member id numbers in sync with WordPress member id numbers
- Mar-2012, added admin setting for TLS encryption.
- Jul-2013, maintenance release.
- Nov-2013, maintenance release.
- Sep-2014, maintenance release.
- Sep-2015, maintenance release. WP 4.3 introduced password change email notifications. Password management in this plugin is handled outside of WordPress, in the LDAP directory. Email notifications are irrelevant and thus disabled when setting user_pass attribute on users in WordPress.
- Sep-2015, maintenance release. additional location missed on change email notifications.
- Feb-2017, maintenance release.