config: add LDAP configuration for LLDAP server at 192.168.84.107:3890
This commit is contained in:
18
data/ldap_config.json
Normal file
18
data/ldap_config.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user