Loading...
 
Skip to main content

LDAP sync broken in 12.3

Status
Open
Subject
LDAP sync broken in 12.3
Version
12.x Regression
Category
  • Error
Feature
External Authentication (LDAP, AD, PAM, CAS, etc)
Resolution status
New
Submitted by
taylordustin
Lastmod by
taylordustin
Rating
(0)
Description

The LDAP syncing is the major problem here. I have tiki 12.2 installed, and everything works fine with the system. But when I attempt the upgrade to 12.3 on my development site, run the composer and installer, and upgrade the database, the LDAP seems to break and I cannot log in to the site using any account at all — not even the default admin account. When I get to the login screen after finishing the installer process, I enter my username and password and it returns with the error "Invalid Username or Password." Again, the same thing happens with the default admin.

I submitted a post on the forum asking if anyone else had the same problem and I had a response where someone was indeed experiencing this as well. He offered a solution where I go into the file ~/lib/auth/ldap.php and comment out an error checking routine on lines 235-240, and this actually allowed me to login to the upgraded version. However, when I did this, it essentially broke the login authentication system, and you could log in as any user no matter what password credentials were entered. So, while this temporary solution did allow me to login to the site, it did not work as anticipated, as I believe it broke the TLS and/or LDAP authentication itself.

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5291
Created
Monday 30 June, 2014 16:53:17 UTC
by taylordustin
LastModif
Tuesday 30 September, 2014 16:56:28 UTC


Show PHP error messages