2013-06-07 12:19:28 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* The configuration of simpleSAMLphp
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
$casldapconfig = array (
|
|
|
|
'idpentityid.example.org' => array(
|
|
|
|
'cas' => array(
|
|
|
|
'login' => 'https://idpentityid.example.org/cas/login',
|
|
|
|
'validate' => 'https://idpentityid.example.org/cas/validate',
|
|
|
|
),
|
|
|
|
'ldap' => array(
|
|
|
|
'servers' => 'idpentityid.example.org',
|
2015-03-27 18:15:46 +01:00
|
|
|
'enable_tls' => true,
|
2013-06-07 12:19:28 +02:00
|
|
|
'searchbase' => 'dc=example,dc=org',
|
|
|
|
'searchattributes' => 'uid',
|
|
|
|
'attributes' => array('cn', 'mail'),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'idpentityid2.example.org' => array(
|
|
|
|
'cas' => array(
|
|
|
|
'login' => 'https://idpentityid2.example.org/login',
|
|
|
|
'validate' => 'https://idpentityid2.example.org/validate',
|
|
|
|
),
|
|
|
|
'ldap' => array(
|
|
|
|
'servers' => 'ldap://idpentityid2.example.org',
|
2015-03-27 18:15:46 +01:00
|
|
|
'enable_tls' => true,
|
2013-06-07 12:19:28 +02:00
|
|
|
'searchbase' => 'ou=users,dc=example,dc=org',
|
|
|
|
'searchattributes' => array('uid', 'mail'), # array for being able to login with either uid or mail.
|
|
|
|
'attributes' => null,
|
|
|
|
'priv_user_dn' => 'uid=admin,ou=users,dc=example,dc=org',
|
|
|
|
'priv_user_pw' => 'xxxxx',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
?>
|