DokuWiki LDAP config

NethServer Version: 8 (core: 3.12.3)
Module: dokuwiki 1.0.6

Hello,

I am trying to set up LDAP (MS Active Directory) authentication in DokuWiki, but I am about to give it up. I would make it as an internal site that is readable for employees only (intanet), so AD/LDAP would be mandatory.

NethServer config:

  • Domains and Users: configured, users and groups are visible in the list.
  • Dokuwiki1 node: LDAP domain:
    – Internal authentication → I can log in
    – mydomain.local → Sorry, username or password was wrong.

DokuWiki config:

  • I tried to log in with local user and set authad and/or authldap the same way as I have done in NethServer, but no luck.
  • I also tried authchained plugin, but still cannot log in with AD users.

Possibly I am doing something wrong, or some of the config changes left something unnecessary in the config files, but am stuck.

How does it supposed to work?

Thank you for your feedback in advance!

btw: Dokuwiki 2025-05-14b hotfix is available fixing XSS vulnerability.

1 Like

set up the ldap in the domain page of cluster admin the configuration will be automatic in ns8-dokuwiki if you allow the ldap login

2 Likes

Yes, no change in the dokuwiki config needed. After configuring Dokuwiki in the NS8 app settings you can select the LDAP domain:

1 Like

Hello,

Well, thanks, it looks like I messed up something in the first instance, impossible to fix.
The domain was not configured when I first tried, so I choose Internal authentication. Later I tried to change it to the domain I configured in the meantime in NS, but seemingly something is locked up.

Anyhow I made a new instance and now it simply works by selecting the domain in NS.

One question still remains: how can I log in as admin now?

Thanks!

Members of the AD groups “domain admins” or “admin” are admins in dokuwiki.

1 Like

Thank you!

I just got to the same conclusion in the meantime: thanks to the Hungarian Windows Server, group names are also translated, so no groups were available with these names…
Now fixed, everything works fine, thanks!

1 Like

yeah…it is a pity that windows translate the group name

1 Like

it has been solved at Upgrade DokuWiki Docker image to latest version 024-02-06b · Issue #7680 · NethServer/dev · GitHub

can you test the version dokuwiki:1.0.7-dev.1

2 Likes

released, thank @mrmarkuz

3 Likes