Documentation

November 22nd, 2012

Installation

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

This section describes how to install the plugin and get it working.

  1. Unzip the plugin contents to the /wp-content/plugins/wpmuldap/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

It is recommended to also change the welcome message that is sent to users upon account creation. By default, WordPress includes the user’s password in the message, even though this password is not used by this plugin. The password sent is purely the password attached to the WPMU account that ties to the user’s LDAP login. To change the welcome message, log in as a Network Admin and go to Network Admin -> Options, and edit “Welcome Email” appropriately.

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.