Call to undefined method Net_LDAP2_Error::getEntry() when logging in wrongly with LDAP
- Status
- Closed
- Subject
- Call to undefined method Net_LDAP2_Error::getEntry() when logging in wrongly with LDAP
- Version
- 6.x
- Category
- Error
- Feature
- User Administration (Registration, Login & Banning)
- Submitted by
- Nelson Ko
- Lastmod by
- Greg Martin
- Rating
- Description
When logging in wrongly with LDAP (no such user or wrong password), will get:
Fatal error: Call to undefined method Net_LDAP2_Error::getEntry() in /var/www/html/watwiki/lib/auth/ldap.php on line 257
(or white screen unless Error reporting is turned on for all)
Strangely this only happens if you key in a password 5 characters or longer. A shorter password will just show "Invalid password" or "Invalid username" as the case may be.
- Solution
backported 7.x fix to 6.x branch for 6.4.
Truncate log messages to 200 characters prior to postinghttp://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=revision&revision=34431

- Importance
- 8
- Priority
- 40
- 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
- 3629
- Created
- Tuesday 09 November, 2010 23:28:22 UTC
by Nelson Ko - LastModif
- Friday 17 June, 2011 15:21:45 UTC