Initial commit
This commit is contained in:
commit
48a5360d0d
22 changed files with 1687 additions and 0 deletions
30
config/config.php.sample
Normal file
30
config/config.php.sample
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?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)))'
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue