Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/apex_tdfonline/php/3ros/simplesamlphp/modules/cas/docs/   drwxr-xr-x  | |
| Viewing file:     Select action/file-type: Using the CAS authentication source with simpleSAMLphp
==========================================================
This is completely based on the original cas authentication, 
the only diffrence is this is authentication module and not a script.
Setting up the CAS authentication module
----------------------------------
The first thing you need to do is to enable the cas module:
    touch modules/cas/enable
Adding a authentication source
example authsource.php
----------------------------------
	'example-cas' => array(
		'cas:CAS',
		'cas' => array(
			'login' => 'https://cas.example.com/login',
			'validate' => 'https://cas.example.com/validate',
			'logout' => 'https://cas.example.com/logout'
		),
		'ldap' => array(
			'servers' => 'ldaps://ldaps.example.be:636/',
			'enable_tls' => true,
			'searchbase' => 'ou=people,dc=org,dc=com',
			'searchattributes' => 'uid',
			'attributes' => array('uid','cn'),
			'priv_user_dn' => 'cn=simplesamlphp,ou=applications,dc=org,dc=com',
			'priv_user_pw' => 'password',
		),
	),
 | 
:: Command execute ::  | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4838 ]--  |