diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-16 11:40:00 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-23 19:57:28 +0100 |
commit | 3b68f6ca727f52f9dc84fa1a134c092b44c49103 (patch) | |
tree | 2dd38ff1453ad3a0a4620a408cdb67a482ae2fc6 /app/config/parameters.yml.dist | |
parent | 3f7a28de8473db53b3de9e19d5e8e58b4e21090d (diff) | |
download | wallabag-3b68f6ca727f52f9dc84fa1a134c092b44c49103.tar.gz wallabag-3b68f6ca727f52f9dc84fa1a134c092b44c49103.tar.zst wallabag-3b68f6ca727f52f9dc84fa1a134c092b44c49103.zip |
Add ldap
Diffstat (limited to 'app/config/parameters.yml.dist')
-rw-r--r-- | app/config/parameters.yml.dist | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 6b0cb8e8..cfd41b69 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist | |||
@@ -62,3 +62,23 @@ parameters: | |||
62 | redis_port: 6379 | 62 | redis_port: 6379 |
63 | redis_path: null | 63 | redis_path: null |
64 | redis_password: null | 64 | redis_password: null |
65 | |||
66 | # ldap configuration | ||
67 | # To enable, you need to require fr3d/ldap-bundle | ||
68 | ldap_enabled: false | ||
69 | ldap_host: localhost | ||
70 | ldap_port: 389 | ||
71 | ldap_tls: false | ||
72 | ldap_ssl: false | ||
73 | ldap_bind_requires_dn: true | ||
74 | ldap_base: dc=example,dc=com | ||
75 | ldap_manager_dn: ou=Manager,dc=example,dc=com | ||
76 | ldap_manager_pw: password | ||
77 | ldap_filter: (&(ObjectClass=Person)) | ||
78 | # optional (if null: no ldap user is admin) | ||
79 | ldap_admin_filter: (&(memberOf=ou=admins,dc=example,dc=com)(uid=%s)) | ||
80 | ldap_username_attribute: uid | ||
81 | ldap_email_attribute: mail | ||
82 | ldap_name_attribute: cn | ||
83 | # optional (default sets user as enabled unconditionally) | ||
84 | ldap_enabled_attribute: ~ | ||