example_configs: Add Kimai
This commit is contained in:
parent
37a10c871f
commit
f92035b6fd
@ -594,6 +594,7 @@ folder for help with:
|
||||
- [Jitsi Meet](example_configs/jitsi_meet.conf)
|
||||
- [Kasm](example_configs/kasm.md)
|
||||
- [KeyCloak](example_configs/keycloak.md)
|
||||
- [Kimai](example_configs/kimai.yaml)
|
||||
- [LibreNMS](example_configs/librenms.md)
|
||||
- [Maddy](example_configs/maddy.md)
|
||||
- [Mastodon](example_configs/mastodon.env.example)
|
||||
|
||||
36
example_configs/kimai.yaml
Normal file
36
example_configs/kimai.yaml
Normal file
@ -0,0 +1,36 @@
|
||||
# See https://www.kimai.org/documentation/local-yaml.html
|
||||
# this file should be renamed local.yaml
|
||||
kimai:
|
||||
ldap:
|
||||
activate: true
|
||||
connection:
|
||||
host: lldap
|
||||
port: 3890 # 6360 for LDAPS
|
||||
useSsl: false # true for LDAPS
|
||||
useStartTls: false
|
||||
username: uid=admin,ou=people,dc=example,dc=com
|
||||
password: <PASSWORD_HERE>
|
||||
accountFilterFormat: (&(objectClass=person)(uid=%s))
|
||||
bindRequiresDn: true
|
||||
optReferrals: false
|
||||
|
||||
user:
|
||||
baseDn: ou=people, dc=example, dc=com
|
||||
usernameAttribute: uid
|
||||
filter: (&(objectClass=person)) # to filter by group, add (memberof=cn=kimai,ou=groups,dc=example,dc=com) [group 'kimai' must be created in web UI]
|
||||
attributes:
|
||||
- { ldap_attr: "uid", user_method: setUserIdentifier }
|
||||
- { ldap_attr: "mail", user_method: setEmail }
|
||||
- { ldap_attr: "cn", user_method: setAlias }
|
||||
|
||||
role:
|
||||
baseDn: ou=groups, dc=example, dc=com
|
||||
filter: (&(objectClass=groupOfUniqueNames))
|
||||
usernameAttribute: cn
|
||||
nameAttribute: cn
|
||||
userDnAttribute: member
|
||||
|
||||
# Convert LDAP group name (nameAttribute) to Kimai role. Available roles are listed here: https://www.kimai.org/documentation/permissions.html
|
||||
groups:
|
||||
- { ldap_value: lldap_admin, role: ROLE_SUPER_ADMIN }
|
||||
# add additional group mappings here
|
||||
Loading…
x
Reference in New Issue
Block a user