Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
LDAP broken in 3.8 #17989
Steps to reproduce the issue
Configure LDAP, try to login with LDAP user
LDAP to authenticate properly, currently failing with line 119 of ldap.php file.
Currently failing with line 119 of ldap.php file, specifically the $ldap->escape method that upon further inspection does not exist in the LdapClient.php file.
System information (as much as possible)
LAMP, php 6.x, J3.8
Replace the file with https://github.com/joomla-framework/ldap/blob/1.2.0/src/LdapClient.php
Apparently some pull request updating the file didn't get applied (or submitted?).
added a commit
Sep 19, 2017
before update to version 3.8.0 no issues during logon of all users through ldap in frontend.
If you downloaded the HTML page and used that, then that would break it. Make sure you hit the "raw" button on the page so you get the actual PHP file that should be uploaded without any extra HTML. Additionally, the file must be uploaded with the correct casing in the name otherwise the file loader won't pick it up.