Skip to content

Instantly share code, notes, and snippets.

@firegore
Created June 19, 2019 14:56
Embed
What would you like to do?
kimai:
ldap:
connection:
host:
username: [DN]
password:
accountDomainName: main.htl-perg.at
accountDomainNameShort: MAIN
accountFilterFormat: (&(objectClass=Person)(sAMAccountName=%s))
user:
baseDn: [XXX]
usernameAttribute: samaccountname
filter: (&(objectClass=Person))
attributes:
- { ldap_attr: "mail", user_method: setEmail }
- { ldap_attr: "displayname", user_method: setAlias }
role:
baseDn: [XXX]
filter: (&(objectClass=group))
groups:
- { ldap_value: Leads, role: ROLE_TEAMLEAD }
- { ldap_value: Sysadmins, role: ROLE_SUPER_ADMIN }
- { ldap_value: Users, role: ROLE_USER }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment