aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/md/Shaarli-configuration.md
diff options
context:
space:
mode:
authorSébastien NOBILI <code@pipoprods.org>2020-03-02 17:08:19 +0100
committerSébastien NOBILI <code@pipoprods.org>2020-03-02 17:13:18 +0100
commitcc2ded54e12e3f3140b895067af086cd71cc5dc6 (patch)
tree5e95c4b5b6d7eadef25cbb503167e8f89608162d /doc/md/Shaarli-configuration.md
parent810f0f6c96b6d26e22164027185c5996b425816c (diff)
downloadShaarli-cc2ded54e12e3f3140b895067af086cd71cc5dc6.tar.gz
Shaarli-cc2ded54e12e3f3140b895067af086cd71cc5dc6.tar.zst
Shaarli-cc2ded54e12e3f3140b895067af086cd71cc5dc6.zip
ldap authentication, fixes shaarli/Shaarli#1343
Diffstat (limited to 'doc/md/Shaarli-configuration.md')
-rw-r--r--doc/md/Shaarli-configuration.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/md/Shaarli-configuration.md b/doc/md/Shaarli-configuration.md
index 664e36dd..2462e20e 100644
--- a/doc/md/Shaarli-configuration.md
+++ b/doc/md/Shaarli-configuration.md
@@ -122,6 +122,11 @@ Must be an associative array: `translation domain => translation path`.
122- **enable_thumbnails**: Enable or disable thumbnail display. 122- **enable_thumbnails**: Enable or disable thumbnail display.
123- **enable_localcache**: Enable or disable local cache. 123- **enable_localcache**: Enable or disable local cache.
124 124
125### LDAP
126
127- **host**: LDAP host used for user authentication
128- **dn**: user DN template (`sprintf` format, `%s` being replaced by user login)
129
125## Configuration file example 130## Configuration file example
126 131
127```json 132```json
@@ -223,6 +228,10 @@ Must be an associative array: `translation domain => translation path`.
223 "extensions": { 228 "extensions": {
224 "demo": "plugins/demo_plugin/languages/" 229 "demo": "plugins/demo_plugin/languages/"
225 } 230 }
231 },
232 "ldap": {
233 "host": "ldap://localhost",
234 "dn": "uid=%s,ou=people,dc=example,dc=org"
226 } 235 }
227} ?> 236} ?>
228``` 237```