Skip to content

Commit

Permalink
Remove redundant file (reverted from commit 221c651)
Browse files Browse the repository at this point in the history
File was not redundant
  • Loading branch information
williamleven committed Apr 4, 2018
1 parent 221c651 commit afd45fb
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions cmd/chalmers.it.config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[gapps.consumer]
servicekeyfile = "gapps.json"
adminaccount = "[email protected]"

[gapps.provider]
servicekeyfile = "gapps.json"
adminaccount = "[email protected]"

[ldap]
url = "ldap.chalmers.it:636"
servername = "chalmers.it"
user = "cn=SERVICE_ACCOUNT_GOES_HERE,dc=chalmers,dc=it"
password = "PASSWORD_GOES_HERE"
custom = ["chairman", "chairmen.fkit", "chairmen.committees", "treasurers", "phadderchef", "fkit"]

[ldap.groups]
basedn = "ou=groups,dc=chalmers,dc=it"
filter = "(|(objectClass=itGroup)(objectClass=itPosition))"
attibutes = ["cn", "displayName", "mail", "member"]

[ldap.users]
basedn = "ou=people,dc=chalmers,dc=it"
filter = "(&(objectClass=chalmersstudent))"
attibutes = ["uid", "mail"]

#### CUSTOM FILTERS ####
[ldap.fkit]
mail = "[email protected]"
basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it"
filter = "(&(objectClass=itGroup))"
parent_filter = "(&(ou=%childRDN%))"
attibutes = ["cn", "displayName", "mail"]

[ldap.chairman]
mail = "[email protected]"
basedn = "ou=styrit,ou=fkit,ou=groups,dc=chalmers,dc=it"
filter = "(&(objectClass=itPosition)(cn=ordf))"
attibutes = ["cn", "displayName", "mail"]

[ldap.chairmen.fkit]
mail = "[email protected]"
basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it"
filter = "(&(objectClass=itPosition)(cn=ordf))"
attibutes = ["cn", "displayName", "mail"]

[ldap.chairmen.committees]
mail = "[email protected]"
basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it"
filter = "(&(objectClass=itPosition)(cn=ordf))"
parent_filter = "(&(objectClass=itGroup)(type=Committee))"
attibutes = ["cn", "displayName", "mail", "type"]

[ldap.treasurers]
mail = "[email protected]"
basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it"
filter = "(&(objectClass=itPosition)(cn=kassor))"
attibutes = ["cn", "displayName", "mail"]

[ldap.phadderchef]
mail = "[email protected]"
basedn = "ou=nollkit,ou=fkit,ou=groups,dc=chalmers,dc=it"
filter = "(&(objectClass=itPosition)(cn=phadderchef))"
attibutes = ["cn", "displayName", "mail"]
#### ============== ####

0 comments on commit afd45fb

Please sign in to comment.