diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-06-25 16:53:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 16:53:18 +0200 |
commit | 78c2f122e067f8bab62deb7ef758708721f4a9ba (patch) | |
tree | 521baacd42ca547c13bf22549cd0a9025af0c371 /doc | |
parent | e1231265bc46b070a4edd573c417aa030fe83426 (diff) | |
parent | 8694e8411b19d499ff58d8168fba448c63a5e443 (diff) | |
download | Shaarli-78c2f122e067f8bab62deb7ef758708721f4a9ba.tar.gz Shaarli-78c2f122e067f8bab62deb7ef758708721f4a9ba.tar.zst Shaarli-78c2f122e067f8bab62deb7ef758708721f4a9ba.zip |
Merge pull request #1428 from pipoprods/feat/ldap-auth
Diffstat (limited to 'doc')
-rw-r--r-- | doc/md/Shaarli-configuration.md | 9 |
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 | ``` |