ldap authentication, fixes shaarli/Shaarli#1343
This commit is contained in:
parent
810f0f6c96
commit
cc2ded54e1
3 changed files with 102 additions and 13 deletions
doc/md
|
@ -122,6 +122,11 @@ Must be an associative array: `translation domain => translation path`.
|
|||
- **enable_thumbnails**: Enable or disable thumbnail display.
|
||||
- **enable_localcache**: Enable or disable local cache.
|
||||
|
||||
### LDAP
|
||||
|
||||
- **host**: LDAP host used for user authentication
|
||||
- **dn**: user DN template (`sprintf` format, `%s` being replaced by user login)
|
||||
|
||||
## Configuration file example
|
||||
|
||||
```json
|
||||
|
@ -223,6 +228,10 @@ Must be an associative array: `translation domain => translation path`.
|
|||
"extensions": {
|
||||
"demo": "plugins/demo_plugin/languages/"
|
||||
}
|
||||
},
|
||||
"ldap": {
|
||||
"host": "ldap://localhost",
|
||||
"dn": "uid=%s,ou=people,dc=example,dc=org"
|
||||
}
|
||||
} ?>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue