aboutsummaryrefslogtreecommitdiff
path: root/app/config/configuration/directory
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-01-18 16:46:21 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-01-18 16:46:21 +0100
commit2c2efdc27684c1382a4949cff8fe06ee36c0f4c0 (patch)
treec01dd9454deeec6f43ce5ccd94d12138e6f9ea18 /app/config/configuration/directory
parent6c8c861dd50aebf4a12232ecc1fab12c5f83bf03 (diff)
parentad6017eea058f7cb6fdf078783f992a4f45a3e15 (diff)
downloadinfrastructure-2c2efdc27684c1382a4949cff8fe06ee36c0f4c0.tar.gz
infrastructure-2c2efdc27684c1382a4949cff8fe06ee36c0f4c0.zip
Merge branch 'master' of git.deuxfleurs.fr:Deuxfleurs/infrastructure
Diffstat (limited to 'app/config/configuration/directory')
-rw-r--r--app/config/configuration/directory/bottin/config.json31
-rw-r--r--app/config/configuration/directory/guichet/config.json.tpl30
2 files changed, 0 insertions, 61 deletions
diff --git a/app/config/configuration/directory/bottin/config.json b/app/config/configuration/directory/bottin/config.json
deleted file mode 100644
index 7867ff0..0000000
--- a/app/config/configuration/directory/bottin/config.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "suffix": "dc=deuxfleurs,dc=fr",
- "bind": "0.0.0.0:389",
- "consul_host": "http://consul.service.2.cluster.deuxfleurs.fr:8500",
- "log_level": "debug",
- "acl": [
- "*,dc=deuxfleurs,dc=fr::read:*:* !userpassword",
- "*::read modify:SELF:*",
- "ANONYMOUS::bind:*,ou=users,dc=deuxfleurs,dc=fr:",
- "ANONYMOUS::bind:cn=admin,dc=deuxfleurs,dc=fr:",
- "*,ou=services,ou=users,dc=deuxfleurs,dc=fr::bind:*,ou=users,dc=deuxfleurs,dc=fr:*",
- "*,ou=services,ou=users,dc=deuxfleurs,dc=fr::read:*:*",
-
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:add:*,ou=invitations,dc=deuxfleurs,dc=fr:*",
- "ANONYMOUS::bind:*,ou=invitations,dc=deuxfleurs,dc=fr:",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::delete:SELF:*",
-
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:add:*,ou=users,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::add:*,ou=users,dc=deuxfleurs,dc=fr:*",
-
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:modifyAdd:cn=email,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::modifyAdd:cn=email,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:modifyAdd:cn=seafile,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::modifyAdd:cn=seafile,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:modifyAdd:cn=nextcloud,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::modifyAdd:cn=seafile,ou=nextcloud,dc=deuxfleurs,dc=fr:*",
-
- "cn=admin,dc=deuxfleurs,dc=fr::read add modify delete:*:*",
- "*:cn=admin,ou=groups,dc=deuxfleurs,dc=fr:read add modify delete:*:*"
- ]
-}
diff --git a/app/config/configuration/directory/guichet/config.json.tpl b/app/config/configuration/directory/guichet/config.json.tpl
deleted file mode 100644
index 98e2297..0000000
--- a/app/config/configuration/directory/guichet/config.json.tpl
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "http_bind_addr": ":9991",
- "ldap_server_addr": "ldap://bottin2.service.2.cluster.deuxfleurs.fr:389",
-
- "base_dn": "dc=deuxfleurs,dc=fr",
- "user_base_dn": "ou=users,dc=deuxfleurs,dc=fr",
- "user_name_attr": "cn",
- "group_base_dn": "ou=groups,dc=deuxfleurs,dc=fr",
- "group_name_attr": "cn",
-
- "invitation_base_dn": "ou=invitations,dc=deuxfleurs,dc=fr",
- "invitation_name_attr": "cn",
- "invited_mail_format": "{}@deuxfleurs.fr",
- "invited_auto_groups": [
- "cn=email,ou=groups,dc=deuxfleurs,dc=fr",
- "cn=seafile,ou=groups,dc=deuxfleurs,dc=fr",
- "cn=nextcloud,ou=groups,dc=deuxfleurs,dc=fr"
- ],
-
- "web_address": "https://guichet.deuxfleurs.fr",
- "mail_from": "coucou@deuxfleurs.fr",
- "smtp_server": "adnab.me:25",
- "smtp_username": "{{ key "secrets/directory/guichet/smtp_user" | trimSpace }}",
- "smtp_password": "{{ key "secrets/directory/guichet/smtp_pass" | trimSpace }}",
-
- "admin_account": "cn=admin,dc=deuxfleurs,dc=fr",
- "group_can_admin": "cn=admin,ou=groups,dc=deuxfleurs,dc=fr",
- "group_can_invite": "cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr"
-}
-