LDAP Auth working for some, not for others...
Hi,
PHPInfo reports "Using Apache/2.0.54 (Win32) PHP/5.0.4 DAV/2".
I'm running on a Windows 2000 Pro workstation.
I was running TikiWiki 1.9.10.1 and using LDAP auth against Novell's eDirectory.
It's always worked fine (including previous versions of TikiWiki).
Recently though, a new guy in our department couldn't log in and for the life of me I couldn't get it working.
The odd thing is that the LDAP server reports a login successful but it doesn't login.
For this new guy who doesn't yet exist in TikiWiki it just says:
"Invalid username or password"
(There's no firewall in the way by the way)
I tried:
- resetting his password (didn't work)
- logging into other services that use the same LDAP to authenticate (they work just fine indicating that this is purely a tikiwiki problem)
- comparing his user object ldap attribute by ldap attribute to a known working user (all the same values are set)
- recreating his user account (didn't work)
- upgrading to TikiWiki 1.9.11 (didn't work and now it's worse - I can't login either!)
As above, I now can't login either, but I don't get a "Invalid username or password" error - I just get kicked back to the same page I tried to login to - with no error message or anything.
I can still login as the admin user (ie. non-LDAP) and the other guys in my team can also still login using LDAP.
I'm finding it really difficult to troubleshoot.
My LDAP Server keeps reporting a login success which means the authentication request was successful.
With TikiWiki, I tried switching debug on as follows...
$this->options'debug' = true;
...in lib\pear\auth\container\ldap.php
but it doesn't seem to do anything. I stopped and restarted Apache even though I don't think that should be necessary. I also cleared out the tiki caches but I never seem to get any debug information.
If anyone can point me in the direction of what I need to do to pinpoint the error that'd be great. My PHP skills aren't terrible but they're not great either - given time I can probably work out what's going wrong, but at the moment I can't even narrow it down, so any help gratefully received.
Thanks in advance.
Nick.