Documentation

March 21st, 2011

Requirements

Plugin versions are as follows:

WordPress MU 3.1.x should use WPMU Ldap 3.1.x

WordPress MU 3.x.x should use WPMU Ldap 3.x.x

WordPress MU 2.8.x or 2.9.x  should use WPMU Ldap 2.8.x or 2.9.x

Installation

Before installing the plugin, be sure that you have the php ldap extension installed and activated!

Simply download the package and extract the files into the mu-plugins folder.  Thats it!

Note: In wordpress 3.x, the mu-plugins is not created by default.  If you are setting up a new install, you will need to first create the mu-plugins folder.

The folder contents directly inside of mu-plugins should be:

wp-content/mu-plugins/ldap_auth.php
wp-content/mu-plugins/ldap

Configuration Options

Example configuration options for connecting to Microsoft Active Directory:

Connection Settings

Server Encryption: SSL
Server Address: ad1.example.com
Server Port: 3269
Search DN: DC=example,DC=com
Search User DN: CN=wpmubind,OU=binds,DC=example,DC=com
Search User Password: (insert password here)
LDAP Type: Windows

LDAP Attribute Mapping

Email: mail
Givename (Firstname): givenname
Surname (Lastname): sn
Nickname: (empty)
Phone: phone
Home Directory: homedirectory
Member: member
Mac Address: zenwmmacaddress
Distinguished Name (DN): dn
Search Attribute (Linux): uid
Search Attribute (Windows): samaccountname

Group Configuration Options

The following settings have been tested and are functional with group support:

Windows – Active Directory

* Search Attribute: samaccountname
* Group Attribute: member
* Group Objectclass: group

Linux – OpenLDAP

* Search Attribute: cn
* Group Attribute: member
* Group Objectclass: groupofnames

Comments are closed.