Closed fjcobo closed 3 years ago
I was able to solve it by adding some missing references.
Hello,
I have the same problem. How did you solve the problem?
Hi,
In ocsreports/var.php: define('PHPCAS', DIR . '/vendor/jasig/phpcas/CAS.php');
In ocsreports/backend/AUTH/methode/cas.php require_once(PHPCAS);
The rest are configured the same as in previous versions.
ok thank you
did you use cas + ldap ? i'm looking for a working configuration since many years; ldap is currently working but cannot combine with cas.
did you use cas + ldap ? i'm looking for a working configuration since many years; ldap is currently working but cannot combine with cas.
No, I'm using LDAP on CAS server side.
Hi,
The method you were using is not used anymore since we reworked the auth methods. Php-CAS is not bundled anymore in OCS and need to be installed on the system.
Regards, Gilles.
Version : 2.7
When CAS login is configured, the following error is obtained:
PHP Fatal error: Uncaught Error: Class 'phpCas' not found in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/cas.php:24\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/auth.php(59): require_once()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/header.php(319): require_once('/usr/share/ocsi...')\n#2 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')\n#3 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/cas.php on line 24
To reproduce: