LDAP connection no longer works (4.0.5)
Moderator: Thorsten
LDAP connection no longer works (4.0.5)
Hello,
We've upgraded to version 4.0 and our LDAP connection no longer works. The configuration of the ldap.conf file and the configuration on the phpmyfaq web interface are identical to the previous version. All it does is tell me that my password is incorrect.
I've tried to recreate my user by changing its auth_source in the database to ldap, but the connection doesn't work. When I reset his local password, it works and the auth_source value changes back to local.
I've also tried using the domain in the user name, but that doesn't work either.
I don't know where to look to find the problem.
Best regards,
Virgile.
We've upgraded to version 4.0 and our LDAP connection no longer works. The configuration of the ldap.conf file and the configuration on the phpmyfaq web interface are identical to the previous version. All it does is tell me that my password is incorrect.
I've tried to recreate my user by changing its auth_source in the database to ldap, but the connection doesn't work. When I reset his local password, it works and the auth_source value changes back to local.
I've also tried using the domain in the user name, but that doesn't work either.
I don't know where to look to find the problem.
Best regards,
Virgile.
Re: LDAP connection no longer works (4.0.5)
Hi,
versions before 4.0.5 didn't work with LDAP due to an error, but 4.0.5 was tested by various users with LDAP, including myself.
Please try to delete the LDAP user in phpMyFAQ and let them login again.
bye
Thorsten
versions before 4.0.5 didn't work with LDAP due to an error, but 4.0.5 was tested by various users with LDAP, including myself.
Please try to delete the LDAP user in phpMyFAQ and let them login again.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: LDAP connection no longer works (4.0.5)
Hello,
When I delete the LDAP user and then recreate a user by modifying the authentication method on the database, the LDAP connection doesn't work.
Is there a special procedure for creating an LDAP user?
Best regards,
Virgile
When I delete the LDAP user and then recreate a user by modifying the authentication method on the database, the LDAP connection doesn't work.
Is there a special procedure for creating an LDAP user?
Best regards,
Virgile
Re: LDAP connection no longer works (4.0.5)
Hi,
no, just enable the LDAP support in the admin section, the configuration has to be valid and then the LDAP user can login like a normal user. After a successful login, a internal user is created, but the authentication will be via LDAP.
bye
Thorsten
no, just enable the LDAP support in the admin section, the configuration has to be valid and then the LDAP user can login like a normal user. After a successful login, a internal user is created, but the authentication will be via LDAP.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: LDAP connection no longer works (4.0.5)
Hello,
LDAP support is enabled and the LDAP file configuration is identical to our previous version:
I've deleted my user but when I try to connect it tells me “incorrect password” even though it's correct. I've tried with and without a domain, but I can't log in to create my user:
Bye,
Virgile.
LDAP support is enabled and the LDAP file configuration is identical to our previous version:
I've deleted my user but when I try to connect it tells me “incorrect password” even though it's correct. I've tried with and without a domain, but I can't log in to create my user:
Bye,
Virgile.
You do not have the required permissions to view the files attached to this post.
Re: LDAP connection no longer works (4.0.5)
Hi,
that looks correct. Do you see any errors in the log of your LDAP server?
bye
Thorsten
that looks correct. Do you see any errors in the log of your LDAP server?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: LDAP connection no longer works (4.0.5)
In the "/content/core/logs/phpmyfaq.log" file, I get the following error:
[2025-02-04T10:31:39.903588+01:00] phpmyfaq.ERROR: Unable to connect to LDAP server [] []
I can't figure out how PHPMYFAQ knows when to use an LDAP or local mode connection. Also, how does it connect a user that doesn't exist in its database.
Bye,
Virgile.
[2025-02-04T10:31:39.903588+01:00] phpmyfaq.ERROR: Unable to connect to LDAP server [] []
I can't figure out how PHPMYFAQ knows when to use an LDAP or local mode connection. Also, how does it connect a user that doesn't exist in its database.
Bye,
Virgile.
Re: LDAP connection no longer works (4.0.5)
Hello,
I added “ldap://” in front of the IP addresses of my LDAP servers in the conf file and this solved the errors in the log file.
However, the connection still doesn't work. Under our firewall, I see the LDAP request correctly but we have the TCP reset from server error. The rule is correct because it worked before and has not been changed.
I'll keep looking on my own.
Bye,
Virgile.
I added “ldap://” in front of the IP addresses of my LDAP servers in the conf file and this solved the errors in the log file.
However, the connection still doesn't work. Under our firewall, I see the LDAP request correctly but we have the TCP reset from server error. The rule is correct because it worked before and has not been changed.
I'll keep looking on my own.
Bye,
Virgile.
Re: LDAP connection no longer works (4.0.5)
I've solved the problem.
Adding ldap:// then disabling the Enable LDAP group support, e.g. “DOMAINername” and LDAP domain prefix, e.g. “DOMAINername” options and using the same samAccountName value (which was written slightly differently) solved my LDAP connection problem.
I'll reconfirm whether we should delete the LDAP user or not.
Bye,
Virgile.
Adding ldap:// then disabling the Enable LDAP group support, e.g. “DOMAINername” and LDAP domain prefix, e.g. “DOMAINername” options and using the same samAccountName value (which was written slightly differently) solved my LDAP connection problem.
I'll reconfirm whether we should delete the LDAP user or not.
Bye,
Virgile.
Re: LDAP connection no longer works (4.0.5)
Hello,
We've decided to start from scratch for the users to have the cleanest configuration possible.
Bye,
Virgile.
We've decided to start from scratch for the users to have the cleanest configuration possible.
Bye,
Virgile.
Re: LDAP connection no longer works (4.0.5)
Hi,
thanks for the response, I'll add your findings to our documentation.
bye
Thorsten
thanks for the response, I'll add your findings to our documentation.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist