LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Please report bugs here!

Moderator: Thorsten

Post Reply
Virgile
Posts: 64
Joined: Thu Jul 25, 2024 7:33 am

LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Post by Virgile »

Hello,

I have updated phpmyfaq from version 3.2.3 to 3.2.8 and following this update the LDAP connection is no longer functional. This problem also prevents connection with the local admin account.

Here's a screenshot of the error when I try to connect to the interface:
error ldap phpmyfaq 3.2.9.PNG
Best regards,
IT Admin
Virgile
You do not have the required permissions to view the files attached to this post.
Last edited by Virgile on Fri Jul 26, 2024 12:33 pm, edited 1 time in total.
Thorsten
Posts: 15722
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP connection error in version 3.2.8 and 3.2.9

Post by Thorsten »

Hi,

which PHP version do you use? Please try 3.2.6 as we fixed something with the LDAP connection in 3.2.7.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15722
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP connection error in version 3.2.8 and 3.2.9

Post by Thorsten »

Hi,

here's the change: https://github.com/thorsten/phpMyFAQ/co ... 1b9d134034

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Virgile
Posts: 64
Joined: Thu Jul 25, 2024 7:33 am

Re: LDAP connection error in version 3.2.8 and 3.2.9

Post by Virgile »

Hello,

We are using PHP version 8.3.9 and mariadb10.5.

I will test version 3.2.6 and keep you informed.

Thank you for your prompt reply.

Best regards,
Virgile
Thorsten
Posts: 15722
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP connection error in version 3.2.8 and 3.2.9

Post by Thorsten »

Hi,

it's really strange as 3.2.9 works for me with LDAP.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Virgile
Posts: 64
Joined: Thu Jul 25, 2024 7:33 am

Re: LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Post by Virgile »

I've just tested 3.2.6 and it works perfectly.

However, with version 3.2.7/8/9, the LDAP and local connections no longer work.

Perhaps you're using different versions of PHP or mariadb?

Virgile.
Virgile
Posts: 64
Joined: Thu Jul 25, 2024 7:33 am

Re: LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Post by Virgile »

I also tried to upgrade from 3.2.6 to 3.2.9, but the same problem occurred.

Virgile
Virgile
Posts: 64
Joined: Thu Jul 25, 2024 7:33 am

Re: LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Post by Virgile »

Hello,

Do you have any ideas to help me with my problem so that I can update the application?

Virgile
Thorsten
Posts: 15722
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Post by Thorsten »

Hi,

sorry, I was on vacation.

I'm running PHP 8.3 as well and it works for me. You can use the Ldap.php file in 3.2.9 as well.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Virgile
Posts: 64
Joined: Thu Jul 25, 2024 7:33 am

Re: LDAP connection error in version 3.2.7, 3.2.8 and 3.2.9

Post by Virgile »

Hello,

I managed to solve the problem by replacing the phpmyfaq/src/phpMyFAQ/Ldap.php file with an older version (3.2.3 for me).

Best regards
Post Reply