I tested a fresh install on a VM and an update on a production server and it worked like a charm except of AD login.
I suspect certificate problems and I found following entry in ssl_error_log, it occurs on signal-event nethserver-dokuwiki-update:
[Tue May 01 22:14:20.768654 2018] [ssl:warn] [pid 11605] AH01909: RSA certificate configured for server2.cmb.local:443 does NOT include an ID which matches the server name
I don’t know how to debug dokuwiki ldap, I tried allowdebug but I didn’t find something relevant.
Working perfectly:
Fresh install
Update - no cache problems, logged in user kept logged in, no update message anymore
internal/ldap user logins even after some switching
<?php
/*
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#
*/
$conf['authtype'] = 'authad';
$conf['plugin']['authad']['account_suffix'] = '@de-labrusse.fr';
$conf['plugin']['authad']['base_dn'] = 'dc=ad,dc=de-labrusse,dc=fr';
$conf['plugin']['authad']['domain_controllers'] = 'ldaps://ad.de-labrusse.fr'; //multiple can be given
$conf['plugin']['authad']['admin_username'] = 'ldapservice';
$conf['plugin']['authad']['admin_password'] = 'h16wu7gXegOaHu2g';
$conf['useacl'] = 1;
?>