diff options
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: ~ | ||