mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Add LDAP filter for permission
This commit is contained in:
parent
fdd5b7f396
commit
5187f8838a
1 changed files with 3 additions and 2 deletions
|
@ -1342,6 +1342,7 @@ password_providers:
|
|||
- module: "ldap_auth_provider.LdapAuthProvider"
|
||||
config:
|
||||
enabled: true
|
||||
mode: "search"
|
||||
uri: "ldap://localhost"
|
||||
start_tls: false
|
||||
base: "ou=users,dc=yunohost,dc=org"
|
||||
|
@ -1349,9 +1350,9 @@ password_providers:
|
|||
uid: "uid"
|
||||
mail: "mail"
|
||||
name: "givenName"
|
||||
# #bind_dn:
|
||||
# #bind_dn: # TODO Add authentication to have the filter working
|
||||
# #bind_password:
|
||||
# #filter: "(objectClass=posixAccount)"
|
||||
filter: "(&(objectClass=posixAccount)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue