Skip to content
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

no LDAP-login since version 2.9.9 #86

Closed
MamoulianDelacroix opened this issue Nov 19, 2019 · 4 comments
Closed

no LDAP-login since version 2.9.9 #86

MamoulianDelacroix opened this issue Nov 19, 2019 · 4 comments

Comments

@MamoulianDelacroix
Copy link

Hi everyone,

since I updated to version 2.9.9 a few days ago. I can't login via LDAP anymore.
Sadly I can't find any error logs or anything simillar for troubleshooting.

We are using Wordpress in Version 5.3 and our LDAP-server is an Micro Focus eDir.
Bevor version 2.9.9 everything was fine.

Are there any troubleshooting logs?

@figureone
Copy link
Member

We released a small change in version 2.9.9 to allow multiple LDAP hosts; not sure why that caused a problem.

If you need to restore functionality immediately, you can revert to the previous version:
https://downloads.wordpress.org/plugin/authorizer.2.9.8.zip

@figureone
Copy link
Member

Another thing to check: we added a new check is_valid_domain_name() on the LDAP hosts, it's possible your LDAP host is failing that check. Can you try just adding return true; to that function here:
https://github.com/uhm-coe/authorizer/blob/master/src/authorizer/class-helper.php#L384-L399
and see if it fixes things? Or share what your LDAP host looks like (you can anonymize it if needed, I just need the general form to test.

@figureone
Copy link
Member

We reverted the is_valid_domain_name() check, so all LDAP URIs should work again after upgrading to version 2.9.10.

1eb05bc

@MamoulianDelacroix
Copy link
Author

We reverted the is_valid_domain_name() check, so all LDAP URIs should work again after upgrading to version 2.9.10.

Thank you a lot. With 2.9.10 everything is back to normal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants