From 7d821d1f7bbb921b8cd380de5b23a780a47e9c30 Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Sat, 11 Apr 2026 14:59:16 +0300 Subject: [PATCH] config: add LDAP configuration for LLDAP server at 192.168.84.107:3890 --- data/ldap_config.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 data/ldap_config.json diff --git a/data/ldap_config.json b/data/ldap_config.json new file mode 100644 index 00000000..ac595581 --- /dev/null +++ b/data/ldap_config.json @@ -0,0 +1,18 @@ +{ + "ldap_enabled": true, + "server_uri": "ldap://192.168.84.107:3890", + "use_tls": false, + "base_dn": "dc=example,dc=com", + "user_template": "cn={username},ou=people,dc=example,dc=com", + "groups_dn": "ou=groups,dc=example,dc=com", + "role_mappings": [ + { + "group": "admin_group", + "role": "admin" + }, + { + "group": "users", + "role": "user" + } + ] +}