LDAP debugging causes error?
- Status
- Closed
- Subject
- LDAP debugging causes error?
- Version
- 6.x
- Category
- Error
- Feature
- External Authentication (LDAP, AD, PAM, CAS, etc)
Logs (system & action) - Submitted by
- ylavi
- Lastmod by
- Greg Martin
- Rating
- Description
System environment:
Tiki 6
Windows Server 2008 64bit
Apache x64 2.2.11
PHP x64 5.2.5 (lib/smarty/libs/internals/core.is_secure.php patched to make it work)LDAP authentication against AD does work once configured properly
BUT
Debugging the configuration was hard because turning on logging caused errors!
When logging is off, all is well. When logging is on and line 346 of lib/auth/ldap.php is commented out, all is well.
It seems that when logging is active, "$filter->asString()" on that line causes an error on our system. The same call is made on line 262 with a simpler filter and works OK.Perhaps when checking groups, asString is returning too much for the logging system to handle?
- Solution
backported 7.x fix. truncate logs messages to 200 chars before posting
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=revision&revision=34431
- 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
- 3710
- Created
- Sunday 12 December, 2010 10:49:44 UTC
by ylavi - LastModif
- Friday 17 June, 2011 15:22:27 UTC