studidcard/config/config.php.sample
Raphael Dannecker 48a5360d0d Initial commit
2025-02-25 16:10:55 +01:00

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)))'
)
);
?>