Fatal Error in lib/auth/ldap.php
- Status
- Closed
- Subject
- Fatal Error in lib/auth/ldap.php
- Version
- 26.x
- Category
- Error
- Feature
- External Authentication (LDAP, AD, PAM, CAS, etc)
- Resolution status
- Fixed or Solved
- Submitted by
- ogmueller
- Lastmod by
- Josue Zirimwabagabo
- Rating
- Description
After upgrading to 26.2, it is not possible to login with LDAP credentials anymore. The following fatal error occurs:
Copy to clipboard<b>Fatal error</b>: Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /web/app/lib/auth/ldap.php:232 Stack trace: #0 /web/app/lib/auth/ldap.php(232): implode('ldaps://ldap2.t...') #1 /web/app/lib/userslib.php(1390): TikiLdapLib->bind() #2 /web/app/lib/userslib.php(881): UsersLib->validate_user_ldap('mylogin', '...') #3 /web/app/tiki-login.php(277): UsersLib->validate_user('mylogin', '...') #4 {main} thrown in <b>/web/app/lib/auth/ldap.php</b> on line <b>232</b><br />
Once this logging code is commented out, the login itself does work again.- Solution
- Workaround
- Importance
- 10 high
- Easy to solve?
- 10 easy
- Priority
- 99
- 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
- 8577
- Created
- Wednesday 03 January, 2024 10:01:28 UTC
by ogmueller - LastModif
- Tuesday 14 January, 2025 23:31:56 UTC