Not logged in. · Lost password · Register
Forum: Non-English Discussion German discussion RSS
Authldap - displayName wird nicht angezeigt
Avatar
trigger2019 #1
Member for 3 months · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Authldap - displayName wird nicht angezeigt
Hallo zusammen,
ich habe letztens DokuWiki auf einem unserer Server deployed und alles lief auch soweit wie gewünscht.  :-D
Jetzt wollte ich allerdings einstellen, dass der volle Name im Wiki angezeigt wird, nicht nur der LDAP-Benutzername. Laut https://www.dokuwiki.org/plugin:authldap muss man dafür in der local.php händisch die Zeile
$conf['plugin']['authldap']['mapping']['name']  = 'displayname';
hinzufügen. Allerdings tat sich danach nichts, es werden immer noch die LDAP Namen angezeigt. Habe ich etwas übersehen? Vorab vielen Dank für jeglichen Input! :)

Hier meine 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-17, 12:22:20 (UTC +01:00)