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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1011
- Created
- Friday 09 February, 2007 17:58:51 UTC
by Unknown - LastModif
- Tuesday 19 October, 2021 11:02:16 UTC