30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
<?php
|
|
|
|
$CONFIG = array(
|
|
'version' => '0.2',
|
|
'default_doe' => '31.07.2025',
|
|
'baseurl' => 'https://ausweis.example.com/',
|
|
'oidc' => array(
|
|
'url' => 'https://idam.example.com/realms/schoolrealm/',
|
|
'clientid' => 'ausweis',
|
|
'secret' => 'secret',
|
|
'mappings' => array(
|
|
'firstname' => 'given_name',
|
|
'lastname' => 'family_name',
|
|
'birthdate' => 'birthdate',
|
|
'id' => 'sophomorixUnid',
|
|
'role' => 'sophomorixRole',
|
|
'doe' => 'doe'
|
|
)
|
|
),
|
|
'ldap' => array(
|
|
'bind_user' => 'cn=global-binduser,OU=Management,OU=GLOBAL,DC=linuxmuster,DC=lan',
|
|
'bind_passwd' => 'secret',
|
|
'base_dn' => 'OU=default-school,OU=SCHOOLS,DC=linuxmuster,DC=lan',
|
|
'url' => 'ldaps://server.example.com:636',
|
|
'filter_id' => '(&(obdjectclass=person)(sophomorixUnid=%s)(!(sophomorixAdminClass=attic)))',
|
|
'filter_name' => '(&(objectclass=person)(givenName=%s)(sn=%s)(sophomorixBirthdate=%s)(!(sophomorixAdminClass=attic)))'
|
|
)
|
|
);
|
|
|
|
?>
|