I've recently been moving most of my websites over to AD authentication. I've installed the adauth extension, and configured local.php as follow:
$conf['plugin']['authad']['account_suffix'] = '@example.local';
$conf['plugin']['authad']['base_dn'] = 'DC=example,DC=local';
$conf['plugin']['authad']['domain_controllers'] = 'noc-hpav.example.local,noc-5500-adds.example.local';
$conf['plugin']['authad']['admin_username'] = 'ws-dokuwiki';
$conf['plugin']['authad']['admin_password'] = '<b>(hashed password as gibberish)==';
$conf['plugin']['authad']['debug'] = 1;
The ws-dokuwiki user is located in ou=Administrative,dc=example,dc=local, and the account I'm trying to log in with is in a different OU.
I've tried changing the admin_username to be a full dn (e.g. cn=WS-DokuWiki-Admin,ou=Administrative,etc.), I've tried the password in plain text, and enabling tls and sso.
Whenever I try to log in with an AD account, I get this:
AD Auth: Bind to Active Directory failed. Check the login credentials and/or server details. AD said: Invalid credentials
Any ideas?
I've referenced
https://forum.dokuwiki.org/thread/6496 and
https://forum.dokuwiki.org/thread/8103, the first one wasn't solved, and as for the second, both my users are unlocked.