WordPress TLS LDAP Configuration

WordPress TLS LDAP Configuration

WordPress TLS LDAP Configuration

For this particular instance, we are authenticating in internal-hosted WordPress site with our Internal LDAP Directory Service using the Secure TLS authenticatin method.

Prerequisites:

php-ldap package installed on LAMP server

restarted httpd service to load new module

Required Package/Plugin:

wpdirauth – WordPress Directory Authentication

Upload the wpDirAuth directory to the /wp-content/plugins/ directory.

  1. Login to your WordPress instance as an admin user.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the Directory Auth. menu found in the WordPress Options section.
  4. Enter your directory server(s) information and set your preferences.

Browse to Settings –> Directory Auth

Part 1:

Directory Auth settings: enable directory authentication, Use TLS, servers ldap1,ldap2

MAKE SURE TO CHANGE samAccountName to uid

part 2:

Same screenshot: Account Filter changed from samAccountName to uid

configure your Base DN, and brand the “YOURDOMAIN” with your organization name

Part 3:

Directory Auth login screen message and LDAP password change message, Update Options

setup your organization name again, and hit “update options”

you now should be able to login with your LDAP username/password!

Related guides: Configure Joomla 3 for TLS LDAP Authentication | Drupal 7 OpenLDAP authentication

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *