From 221c651cc0e9d734aa4f7a71a402b2856d893073 Mon Sep 17 00:00:00 2001 From: Gurgy Date: Mon, 2 Apr 2018 17:33:40 +0200 Subject: [PATCH] Remove redundant file --- .gitignore | 4 +-- cmd/chalmers.it.config.toml | 64 ------------------------------------- 2 files changed, 2 insertions(+), 66 deletions(-) delete mode 100644 cmd/chalmers.it.config.toml diff --git a/.gitignore b/.gitignore index 5d74e41..918ac3f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ # Configuration files config.toml -# Much secret key file -gapps.json +# Data files +**.json # Binary files /google-ldap-sync diff --git a/cmd/chalmers.it.config.toml b/cmd/chalmers.it.config.toml deleted file mode 100644 index 05b7e2f..0000000 --- a/cmd/chalmers.it.config.toml +++ /dev/null @@ -1,64 +0,0 @@ -[gapps.consumer] - servicekeyfile = "gapps.json" - adminaccount = "admin@chalmers.it" - -[gapps.provider] - servicekeyfile = "gapps.json" - adminaccount = "admin@chalmers.it" - -[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 = "fkit@chalmers.it" - basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it" - filter = "(&(objectClass=itGroup))" - parent_filter = "(&(ou=%childRDN%))" - attibutes = ["cn", "displayName", "mail"] - -[ldap.chairman] - mail = "ordforande@chalmers.it" - basedn = "ou=styrit,ou=fkit,ou=groups,dc=chalmers,dc=it" - filter = "(&(objectClass=itPosition)(cn=ordf))" - attibutes = ["cn", "displayName", "mail"] - -[ldap.chairmen.fkit] - mail = "ordforanden@chalmers.it" - basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it" - filter = "(&(objectClass=itPosition)(cn=ordf))" - attibutes = ["cn", "displayName", "mail"] - -[ldap.chairmen.committees] - mail = "ordforanden.kommiteer@chalmers.it" - 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 = "kassorer@chalmers.it" - basedn = "ou=fkit,ou=groups,dc=chalmers,dc=it" - filter = "(&(objectClass=itPosition)(cn=kassor))" - attibutes = ["cn", "displayName", "mail"] - -[ldap.phadderchef] - mail = "phadderchef@chalmers.it" - basedn = "ou=nollkit,ou=fkit,ou=groups,dc=chalmers,dc=it" - filter = "(&(objectClass=itPosition)(cn=phadderchef))" - attibutes = ["cn", "displayName", "mail"] -#### ============== ####