Your shopping cart is empty!
Additionally, you’ll need to decide how Simple LDAP Login will or will not create new WordPress users on your system. The choices are:
Authentication in LDAP is a two step process:
The ldap_bind()function returns a boolean, which succeeds if the username and password were found in the directory.
Here’s an example syntax:
Note that the line reading: $ldap['ad_domain'] . '\' . $ldap['username']is what prefixes your username with the Active Directory domain. So if you typically logon to your network with MicrosoftBillGates, the domain is Microsoft. The \ is the escaped backslash character. It is a special symbol, so don’t forget to escape it!
$ldap['ad_domain'] . '\' . $ldap['username']
Using this information, we can modify the wpDirAuth plugin to work with our Active Directory. Pare it down to only use Active Directory (you don’t need the OpenLDAP stuff around line 300), and look for any instances of ldap_bind(). Make sure the username is prefixed with the domain and escaped backslash. You don’t need the prebound / prebinding stuff.
When you’re done with that, install and activate the plugin. Set the Directory Servers and Base DN in the Admin settings, the rest should be okay.