You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-11-03 10:48:58

itheesh
Member
Registered: 2022-11-21
Posts: 25

LDAP automatic syc is not working in 10.0.10 after updating

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

#2 2023-11-07 12:24:19

itheesh
Member
Registered: 2022-11-21
Posts: 25

Re: LDAP automatic syc is not working in 10.0.10 after updating

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

Board footer

Powered by FluxBB