?
avatar abel408
abel408
18 May 2017

Steps to reproduce the issue

Upgrade to > 3.7
Attempt to log in with LDAP credentials

Expected result

LDAP plugin successfully authenticates user

Actual result

404 error page, user does not authenticate

System information (as much as possible)

I've had this issue with all 4 websites that I've upgraded. Problem started when I upgraded to 3.7 from 3.6.5. Server is running Ubuntu 16.04 and php7

Additional comments

avatar abel408 abel408 - open - 18 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 18 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 May 2017
avatar brianteeman
brianteeman - comment - 18 May 2017

Sounds the same as the redirect on login issue reported elsewhere and not
specifically for ldap - not at my desk to search for the exact issue number

On 18 May 2017 3:52 p.m., "abel408" notifications@github.com wrote:

Steps to reproduce the issue

Upgrade to > 3.7
Attempt to log in with LDAP credentials
Expected result

LDAP plugin successfully authenticates user
Actual result

404 error page, user does not authenticate
System information (as much as possible)

I've had this issue with all 4 websites that I've upgraded. Problem
started when I upgraded to 3.7 from 3.6.5. Server is running Ubuntu 16.04
and php7
Additional comments


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16111, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8dCO8ybGG8PzgBzpjDxIFBXpQssHks5r7FszgaJpZM4NfWlq
.

avatar abel408
abel408 - comment - 18 May 2017

I am able to log in with a Joomla user though.

avatar PhilETaylor
PhilETaylor - comment - 18 May 2017

When did you upgrade to PHP 7.x ?

avatar PhilETaylor
PhilETaylor - comment - 18 May 2017

What is the exact URL you get a 404 error page on? does it have & in it?

avatar PhilETaylor
PhilETaylor - comment - 18 May 2017

What EXACT Joomla version are you running? Please download and attach your system information using the button in Joomla System Information page in admin.

avatar franz-wohlkoenig franz-wohlkoenig - change - 18 May 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 May 2017
Category Authentication
avatar abel408
abel408 - comment - 18 May 2017

I performed the upgrade to PHP 7 during the same time as the upgrade to Joomla 3.7.

This is the URL that I get redirected to after I attempt to log in from an LDAP account:
https://mydomain.com/index.php?option=com_users&task=user.login&Itemid=150

When I log in as a Joomla user, I get authenticated successfully and get redirected to my profile page: https://mydomain.com/index.php?option=com_users&view=profile&Itemid=112

I'm using the login form menu type to log in, but I've also tried using the direct url (index.php?option=com_users&view=login) with the same outcome.

I am on 3.7.1 now

System Information:

PHP Built On Linux media 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:02 UTC 2017 x86_64
Database Version 5.7.18-0ubuntu0.16.04.1-log
Database Collation latin1_swedish_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.0.15-0ubuntu0.16.04.4
Web Server Apache/2.4.18 (Ubuntu)
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.7.1 Stable [ Amani ] 17-May-2017 14:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

avatar abel408
abel408 - comment - 22 May 2017

I'm currently having this issue with all of my sites and users are complaining. Can I get an update to this issue? Do you need any more information?

avatar PhilETaylor
PhilETaylor - comment - 22 May 2017

Quite frankly I never had the time (or energy) to set up a LDAP server and all the prerequisites in an attempt to replicate the issue.

I performed the upgrade to PHP 7 during the same time as the upgrade to Joomla 3.7.

Are you sure you have correctly installed PHP7 with all the required extensions for PHP 7 that are needed for LDAP to work?

Please download and attach your system information using the button in Joomla System Information page in admin.

I asked you to do that, and you still have not done that. Maybe I was not clear, in Joomla 3.7.1 there is a "Download as text" button on teh system information page, this is what I wanted you click, and provide the resultant file, this contains more PHP information on which I can make an educated guess of what your problem might be.

screen shot 2017-05-22 at 18 18 11

Im "guessing" if you move back to your old PHP version (which was correctly configured) Im "guessing" that the LDAP will work.

Im "guessing" that your PHP 7 is missing extensions, and as there is frequent error suppressor use in ldapclient.php (the @ sign) that the errors are being hidden.

avatar PhilETaylor
PhilETaylor - comment - 22 May 2017

Or maybe it was this merge #13938 which was merged without any testing at all :( @mbabker @wilsonge - again just a wild guess...

avatar PhilETaylor
PhilETaylor - comment - 22 May 2017

@brianteeman Sounds the same as the redirect on login issue reported elsewhere and not
specifically for ldap

Yup could be that too, both, or specifically. but the guy says logging in as a Joomla user is fine... so maybe not :(

avatar mbabker
mbabker - comment - 22 May 2017

I'm not going to speak on merge policy, but the Framework package class and the CMS class were line for line the same minus the private properties being renamed to remove the underscore prefix. So the simple act of that change should not have caused this issue.

avatar PhilETaylor
PhilETaylor - comment - 22 May 2017

I'm not going to speak on merge policy, but the Framework package class and the CMS class were line for line the same minus the private properties being renamed to remove the underscore prefix. So the simple act of that change should not have caused this issue.

Like I said, it was a wild guess :)

avatar abel408
abel408 - comment - 23 May 2017

@PhilETaylor you are correct. I was missing the php7-ldap package. I'm sorry. Odd that I couldn't find any logs indicating that.

avatar abel408 abel408 - change - 23 May 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-05-23 15:14:20
Closed_By abel408
avatar abel408 abel408 - close - 23 May 2017

Add a Comment

Login with GitHub to post a comment