Loading...
 
Skip to main content

imap/ldap authentication problem

Status
Closed
Subject
imap/ldap authentication problem
Version
1.9.x
Category
  • Error
  • Support request
Feature
External Authentication (LDAP, AD, PAM, CAS, etc)
User Administration (Registration, Login & Banning)
Resolution status
Out of Date
Submitted by
edevena
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Hello,
Installed tikiwiki 1.9 on a CentOS 4.4.
Assigned autenthication to external LDAP server ( Windows AD ) , but the problem
remains even with IMAP.
Login with admin works
Login with external users presents again the login screen ( no "bad password" just the login screen again and again )

I debugged the code and found the both IMAP and LDAP modeles correctly check the user
and at the end of tiki-login.php the "tiki-user-tikiwiki" Cookie is set with the IMAP/LDAP username, but then at start of "tiki-index.php" the $user variable is empty.
A further check states that session_id() at the end of tiki-login.php is different from session_id() at start of tiki-index.php ( and this explains why the value of variables are different ).
10 correct authentication produce 10 different PHPSESS file with correct username but tiki-index.php always load the first one ( without username set ).

This has been reproduced with php-4.3.9-3.22 on a Centos 4.2, 4.3 and 4.4

Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1011
Created
Friday 09 February, 2007 17:58:51 UTC
by Unknown
LastModif
Tuesday 19 October, 2021 11:02:16 UTC


Show PHP error messages