Skip to content

Instantly share code, notes, and snippets.

@firegore
Created June 19, 2019 14:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save firegore/b12d43ef679bd8020a7b5ffa4a556083 to your computer and use it in GitHub Desktop.
Save firegore/b12d43ef679bd8020a7b5ffa4a556083 to your computer and use it in GitHub Desktop.
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