[dokuwiki] Subscriber mails not working with LDAP (AD) authentication


I've got Dokuwiki running on a Debian box set up on my company's
intranet to use LDAP authentication against our MS Active Directory.
This is working fine, users are able to log in with their windows
username and password, except for one wrinkle -- subscribers do not get
emailed when pages they have subscribed to have changed.

I saw the discussion on http://wiki.splitbrain.org/wiki:auth:ldap and
added the following line to my /etc/dokuwiki/local.php which I thought
would set the email properly:

$conf['auth']['ldap']['mapping']['mail']  = '%{user}@%{server}';

Unfortunately, this doesn't seem to do what I think it should...

Can anyone give me a clue or show me the error I've made?


PS - Here is the complete security setting section from my local.php:
// Security and Authentication options
$conf['useacl']      = 1;                //Use Access Control Lists to restrict 
$conf['openregister']= 0;       // Don't allow new users to register themselves
$conf['resendpasswd']= 0;                //allow resend password function?
$conf['superuser']   = 'joe';
$conf['defaultgroup']= 'users';           //Default groups new Users are added 
$conf['authtype']    = 'ldap';          //which authentication backend should 
be used
$conf['auth']['ldap']['debug']            = true;  // LDAP-auth debugging
$conf['auth']['ldap']['server']           = 'example.com';
$conf['auth']['ldap']['binddn']           = '%{user}@%{server}';
$conf['auth']['ldap']['usertree']         = 'dc=example,dc=com';
$conf['auth']['ldap']['userfilter']       = 
$conf['auth']['ldap']['mapping']['name']  = 'displayname';
$conf['auth']['ldap']['mapping']['mail']  = '%{user}@%{server}';
$conf['auth']['ldap']['mapping']['grps']  = array('memberof' => '/CN=(.+?),/i');
$conf['auth']['ldap']['referrals']        = 0; # Switch referrals off for use 
with Active Directory
$conf['auth']['ldap']['version']          = 3;
$conf['subscribers'] = 1;                //enable change notice subscription 

DokuWiki mailing list - more info at

Other related posts:

  • » [dokuwiki] Subscriber mails not working with LDAP (AD) authentication