schorschii / OCO-Server

Open Source Computer Orchestration Server - Client/Endpoint & Server Inventory, Configuration Management, Automation and Software Rollout/Deployment/Distribution
https://oco.sieber.systems
GNU General Public License v3.0
50 stars 13 forks source link

Ldap issue error 500 #28

Closed lyonelf closed 1 year ago

lyonelf commented 1 year ago

Hello,

My Json conf is validated but when i whan to sync the 1st one, i have a error 500

Apache error.log show thoses lines:

[Thu Apr 27 16:16:47.705305 2023] [php7:error] [pid 5093] [client X.X.4.60:52094] PHP Fatal error: Uncaught Error: Call to undefined function ldap_connect() in /srv/www/oco/lib/LdapSync.class.php:53\nSta ck trace:\n#0 /srv/www/oco/frontend/ajax-handler/settings.php(11): LdapSync->syncSystemUsers()\n#1 {main}\n thrown in /srv/www/oco/lib/LdapSync.class.php on line 53, referer: http://1X.X3.231.1X7/index.php ?tab=users&view=settings-system-users

schorschii commented 1 year ago

The php-ldap module is missing.

lyonelf commented 1 year ago

Damned, yes.

Me and Linux, we are not friends :)