NethServer Version: 7.5.1804
Module: dokuwiki
Hello,
following situation: 2x NS into the same network:
- NS1 is the “ad-master”. Users are set on it.
- NS2 is the “ad-slave”, successfully bound to NS1. Dokuwiki runs on it and is configured “Authentication=ldap” by the “config” command.
- users of NS1 are visible into the server-manager of NS2
The problem: the authentication of the users (from NS1) doesn’t work on Dokuwiki (NS2)
I installed dokuwik on NS1 (for tests) and I had a look into the file “etc/dokuwiki/local.protected.php” (AFAIK this is the right conf file):
- by a dokuwiki installed on NS1:
$conf['authtype'] = 'authad';
$conf['plugin']['authad']['account_suffix'] = '@domain.tld';
$conf['plugin']['authad']['base_dn'] = 'dc=ad,dc=domain,dc=tld';
$conf['plugin']['authad']['domain_controllers'] = 'ldaps://ad.domain.tld'; //multiple can be given
- by the dokuwiki installed on NS2:
$conf['authtype'] = 'authad';
$conf['plugin']['authad']['account_suffix'] = '@domain.tld';
$conf['plugin']['authad']['base_dn'] = 'DC=ad,DC=domain,DC=tld';
$conf['plugin']['authad']['domain_controllers'] = 'ldap://nsdc-NS1.ad.domain.tld'; //multiple can be given
I tried entering the parameters of the conf of dokuwiki-NS1 into the conf of the dokuwiki-NS2 and restart httpd but it doesn’t work too!
Questions:
- why do the parameters of dokuwiki-NS1 not work into dokuwiki-NS2? The domain controller is the same: NS1 => ad.domain.tld via ldaps
- BTW: why “DC=” in capital characters by NS2 and not by NS1? Other template?
- why “ldaps” by NS1 and “ldap” by NS2? Same reason: other template?
- and much more important: how to get it working??
Tia
Bye
Arnaud