mirror of
https://github.com/lldap/lldap.git
synced 2024-11-25 17:13:25 +00:00
docs: add Syncthing example
This commit is contained in:
parent
1ae7987b88
commit
8f446bd932
1 changed files with 30 additions and 0 deletions
30
example_configs/syncthing.md
Normal file
30
example_configs/syncthing.md
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Configuration for Syncthing
|
||||||
|
## Actions > Advanced > LDAP
|
||||||
|
---
|
||||||
|
|
||||||
|
| Parameter | Value | Details |
|
||||||
|
|----------------------|------------------------------------------------------------------------|-------------------------------------------------------|
|
||||||
|
| Address | `localhost:3890` | Replace `localhost:3890` with your LLDAP host & port |
|
||||||
|
| Bind DN | `cn=%s,ou=people,dc=example,dc=com` | |
|
||||||
|
| Insecure Skip Verify | *unchecked* | |
|
||||||
|
| Search Base DN | `ou=people,dc=example,dc=com` | Only used when using filters. |
|
||||||
|
| Search Filter | `(&(uid=%s)(memberof=cn=lldap_syncthing,ou=groups,dc=example,dc=com))` | Filters on users belonging to group `lldap_syncthing` |
|
||||||
|
| Transport | `plain` | |
|
||||||
|
|
||||||
|
Replace `dc=example,dc=com` with your LLDAP configured domain for all occurances
|
||||||
|
|
||||||
|
Leave **Search Base DN** and **Search Filter** both blank if you are not using any filters.
|
||||||
|
|
||||||
|
## Actions > Advanced > GUI
|
||||||
|
|
||||||
|
Change **Auth Mode** from `static` to `ldap`
|
||||||
|
|
||||||
|
|
||||||
|
If you get locked out of the UI due to invalid LDAP settings, you can always change the settings from the `config.xml`, save the file, and force restart the app.
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
Change the below and restart
|
||||||
|
|
||||||
|
` <authMode>ldap</authMode>` to ` <authMode>static</authMode>`
|
||||||
|
|
Loading…
Reference in a new issue