aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/directory
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2020-02-11 09:11:26 +0100
committerGitea <gitea@fake.local>2020-02-11 09:11:26 +0100
commit1c7b89e548592d65d39ad739b625964fde8d9191 (patch)
tree10d4d2842a5588b78d279139eb4a526d5a677f1e /consul/configuration/directory
parent485c056a42fa37744ccd2e1d9dc81c5cb1349e31 (diff)
parente91b3e40f84eb9c092e061e58e6912f398cd3faf (diff)
downloadinfrastructure-1c7b89e548592d65d39ad739b625964fde8d9191.tar.gz
infrastructure-1c7b89e548592d65d39ad739b625964fde8d9191.zip
Merge branch 'guichet' of Deuxfleurs/deuxfleurs.fr into master
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"
+}
+