That’s odd. So, one site, for one user fails authentication? Or is the prebind failing, but only for one site?
It´s one wordpress site. Login via wp-admin is not possible. It seems that there´s no bind. All other wordress sites within the same multisite works.
For example:
Error site: test.de/xy/wp-admin fails
Other sites: test.de/cd/wp-admin works.
So for test.de/xy/wp-admin wpDirAuth doesn’t appear to be working at all? Or are you receiving an error message?
Since this is a multisite, do you have wpDirAuth network enabled? Or is it enabled on a site-by-site basis?
It doesn´t work it all. Error Message: your password is not correct.
At both multisites wpdirauth is network enabled.
on the test.de/xy/ site, is the error message:
wpDirAuth Directory Authentication Error: Could not authenticate user. Please check your credentials.
or is it
Your password is incorrect
?
If it’s the second one, then wpDirAuth isn’t running at all, OR, it doesn’t see the account requesting authentication as being an ldap-authenticated account.
Is this happening for *every* ldap-authenticated user on test.de/xy/ or only certain users?
It´s the first one.
It happens with every user, which uses ldap.
i’ve never seen a situation where it didnt work in a single instance of a multisite, but did for all the others. This is really… odd. To get a wpDirAuth error message that user auth failed the binding attempt had to fail. How the bind attempt happens depends on your LDAP setup.
There is a separate failure message of Could not authenticate user. but the title should be WordPress Login Error not wpDirAuth Directory Authentication Error.
So I just want to make sure you’re seeing the wpDirAuth title on the error message. I’m sorry about clarifying so much but getting a wpDirAuth auth failed message for every ldap-authed user but only for one site in a multisite would be highly unusual.
Also, are you up-to-date on WordPress version and wpDirAuth? Also, are there any plugins in use on this site and not the others that are working? Even plugins that you wouldn’t think could affect it.
Hi,
sorry for my late reply. Here the full login error message:
“ERROR: The password you entered for the username xy is incorrect. Lost your password?”
My wordpress and your plugin are up to date. It seems to be a problem with my theme. Is there a good way to debug?
Regards,