New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New stable authad plugin is broken #1616
Comments
Same error here. Used autoupdate feature.
patch worked for me. Thanks very much for fast fix :) |
Yes, I have this problem too, after upgrading to 2016-06-26 "Elenor of Tsort", I can no longer log on and recieve a I have been using this configuration with admin upgrade module for a few years, and havent had this problem before. Did something change in the Auth Ad?? |
Also the suggested patch above does not work for me, also I use AD groups, so that may have to do with it as well. Putting an older version of AuthAD back, also does not work. |
It seems some update of the adLDAP library made a crucial function protected, thus breaking the authad plugin. This just makes the function public again, which should fix the immeadiate problem. A proper fix would need to do #1553 as well
public to protected was by this PR: #1552 |
I'll roll out a hotfix with that fix included. Thank you all |
Closing as the fix is in. |
@bug yeah. there's another report regarding problems with AD I want to have a look at tonight or tomorrow. I'll let you know when we're good to hotfix release. |
I looked into why my config did no longer work after upgrading, and apparently removing the $conf['plugin']['authad'] from the config file local.php and re-add them using the configuration manager works. We used to have stuff like: Also for some reason I have troubles logging on with the bind user, but only some times, since I don't really need it (I think, I just removed it from the config) Then the patch above works for me. |
I just updated today and it broke my working config. This instance was set up about 3 years ago and the configuration I had survived all the updates since then until Elenor of Tsort. To resolve I went back through the authad plugin documentation and reconfigured the parameters in local.protected.php from scratch. I'm not sure what I changed but it works now. |
I guess that this could be due to remove of support for the old format of config for the auth plugins... |
old local.protected.php:
New local.protected.php
|
After updating to 2016-06-26 "Elenor of Tsort" I have such errors in the log:
PHP Fatal error: Call to protected method adLDAPUtils::ldapSlashes() from context 'adLDAPGroups' in lib/plugins/authad/adLDAP/classes/adLDAPGroups.php on line 423
A workaround attached
patch.txt
The text was updated successfully, but these errors were encountered: