Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Authldap - displayName not shown
Avatar
trigger2019 #1
Member for 3 months · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Authldap - displayName not shown
Hello, everybody,
I recently deployed DokuWiki on one of our servers and everything went as planned.  :-D
Now I wanted to make sure that the full name is displayed in the wiki, not just the LDAP username. According to https://www.dokuwiki.org/plugin:authldap you have to manually add the line
$conf['plugin'']['authldap']['mapping']['name'] = 'displayname';
However, nothing happened afterwards, the LDAP usernames are still displayed. Did I miss anything? Thanks for any input! :)

Here's my local.php:

<?php
/*
 * Dokuwiki's Main Configuration File - Local Settings
 * Auto-generated by config plugin
 * Run for user: nutzer
 * Date: Wed, 21 Aug 2019 11:57:31 +0200
 */

$conf['title'] = 'Name';
$conf['lang'] = 'de';
$conf['license'] = '';
$conf['showuseras'] = 'username';
$conf['authtype'] = 'authldap';
$conf['passcrypt'] = 'ssha';
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
$conf['proxy']['host'] = 'proxyserver.de';
$conf['proxy']['port'] = 80;
$conf['plugin']['publish']['number_of_approved'] = 2;
$conf['plugin']['publish']['hide drafts'] = 1;
$conf['plugin']['publish']['author groups'] = 'admin nutzer';
$conf['plugin']['pagelist']['style'] = 'table';
$conf['plugin']['pagelist']['showheader'] = 1;
$conf['plugin']['pagelist']['showuser'] = '2';
$conf['plugin']['pagelist']['showdiff'] = 1;
$conf['plugin']['authldap']['server'] = 'x.de';
$conf['plugin']['authldap']['usertree'] = 'ou=personen,dc=x,dc=y,dc=de';
$conf['plugin']['authldap']['grouptree'] = 'ou=gruppen,dc=x,dc=y,dc=de';
$conf['plugin']['authldap']['userfilter'] = '(&(&(uid=%{user})(objectClass=person))(|(|(memberOf=cn=mitarbeiter,ou=gruppen,dc=x,dc=y,dc=de)(memberOf=cn=aushilfe,ou=gruppen,dc=x,dc=y,dc=de))(memberOf=cn=nutzer,ou=gruppen,dc=x,dc=y,dc=de)))';
$conf['plugin']['authldap']['groupfilter'] = '(member=%{dn})';
$conf['plugin']['authldap']['version'] = 3;
$conf['plugin']['authldap']['binddn'] = 'cn=dokuwiki,cn=inhalt,ou=server,dc=x,dc=y,dc=de';
$conf['plugin']['authldap']['bindpw'] = 'passwort';
$conf['plugin']['authldap']['modPass'] = 0;
$conf['plugin']['authldap']['mapping']['grps']  = array('memberOf' => '/CN=(.+?),/i');
$conf['plugin']['authldap']['mapping']['name']  = 'displayName';
$conf['plugin']['task']['show_error_msg'] = 1;
$conf['plugin']['task']['show_info_msg'] = 1;
$conf['plugin']['task']['show_success_msg'] = 1;
$conf['plugin']['authldap']['mapping']['name'] = 'displayName';
$conf['plugin']['move']['allowrename'] = '@nutzer';

// end auto-generated content
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-18, 19:05:41 (UTC +01:00)