Closed Parnoud closed 5 months ago
Hi @Parnoud,
I agree that this should at least be mentioned within the documentation. I've made a PR for this : https://github.com/OCSInventory-NG/Wiki/pull/184
Thank you for bringing it to our attention. We'll also consider the changes you proposed as an alternative solution.
Best regards, Léa
OCS Inventory version Version : all with ldap/ldaps or ssologin
Describe the bug After a maj, user cannot login with ldap/laps if enable before because the file is not backup or saved followin the documentation.
To Reproduce Steps to reproduce the behavior: Update OCS console to newer version, copy old file with with new file. Restart the service and try to login with ldaps
Expected behavior After maj, user should login in console as usual
Solution in Wiki OCS add a point for
/usr/share/ocsinventory-reports/ocsreports/var.php
and auth type line 154.Solution bis Add a feature in setup.sh to find value he need in old config file if existe for update. Sometime, the file
/etc/apache2/conf-available/z-ocsinventory-server.conf
/etc/apache2/conf-available/zz-ocsinventory-restapi.conf
/etc/apache2/conf-available/ocsinventory-reports.conf
/usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php
arent the same between version. And maybe if this is implemented, add the auto remove of/usr/share/ocsinventory-reports/ocsreports/install.php