You are not logged in.
Hi,
After updating the server to 10.0.10 from 10.0.6 , i am not able to run the command ldap:sync from cli. it is showing error
"Uncaught Exception Error: Call to undefined function ldap_connect() in /var/www/html/glpi/src/AuthLDAP.php at line 3073"
when searched in the internet, found the command to check the requirements.
The extension was already present in the server before the upgrading of glpi to 10.0.10
Please help ....any idea why this is showing now
Offline
Hi,
I resolved the problem by myself. Upon reviewing the requirements, I noticed that the LDAP PHP extension was not included, which surprised me because it had been previously installed on the server. Following an update, the extension no longer appeared. Subsequently, I reinstalled the LDAP extension on the server and executed the command to synchronize LDAP users with Active Directory (AD). Now, everything is functioning as expected.
The commands are as below:-
1. bin/console glpi:system:check_requirements
2. sudo apt -y install php-ldap
3. php bin/console ldap:sync -u -s
Offline