aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/directory
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-10 17:49:53 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-10 17:50:24 +0100
commit71767b52a5d35ba95b7dcad80b52239b68052d40 (patch)
tree9cb221017ee235594320326e5886f4cffd1225ed /consul/configuration/directory
parent485c056a42fa37744ccd2e1d9dc81c5cb1349e31 (diff)
downloadinfrastructure-71767b52a5d35ba95b7dcad80b52239b68052d40.tar.gz
infrastructure-71767b52a5d35ba95b7dcad80b52239b68052d40.zip
Configuration de Guichet
Diffstat (limited to 'consul/configuration/directory')
-rw-r--r--consul/configuration/directory/bottin/config.json14
-rw-r--r--consul/configuration/directory/guichet/config.json15
2 files changed, 29 insertions, 0 deletions
diff --git a/consul/configuration/directory/bottin/config.json b/consul/configuration/directory/bottin/config.json
new file mode 100644
index 0000000..ca49922
--- /dev/null
+++ b/consul/configuration/directory/bottin/config.json
@@ -0,0 +1,14 @@
+{
+ "suffix": "dc=deuxfleurs,dc=fr",
+ "bind": "0.0.0.0:1389",
+ "consul_host": "http://consul.service.2.cluster.deuxfleurs.fr:8500",
+ "log_level": "debug",
+ "acl": [
+ "*,dc=deuxfleurs,dc=fr::read:*:* !userpassword",
+ "*::read modify:SELF:*",
+ "cn=admin,dc=deuxfleurs,dc=fr::read add modify delete:*:*",
+ "*:cn=admin,ou=groups,dc=deuxfleurs,dc=fr:read add modify delete:*:*",
+ "ANONYMOUS::bind:*,ou=users,dc=deuxfleurs,dc=fr:",
+ "ANONYMOUS::bind:cn=admin,dc=deuxfleurs,dc=fr:"
+ ]
+}
diff --git a/consul/configuration/directory/guichet/config.json b/consul/configuration/directory/guichet/config.json
new file mode 100644
index 0000000..9dde56a
--- /dev/null
+++ b/consul/configuration/directory/guichet/config.json
@@ -0,0 +1,15 @@
+{
+ "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",
+
+ "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"
+}
+