forked from plume/documentation
document ldap
This commit is contained in:
parent
6d02554fc7
commit
d74634720c
2 changed files with 16 additions and 0 deletions
|
@ -59,3 +59,17 @@ PLUME_LOGO_192=icons/trwnh/paragraphs/plumeParagraphs192.png
|
|||
PLUME_LOGO_256=icons/trwnh/paragraphs/plumeParagraphs256.png
|
||||
PLUME_LOGO_512=icons/trwnh/paragraphs/plumeParagraphs512.png
|
||||
```
|
||||
|
||||
Plume support delegating authentication via LDAP.
|
||||
- `LDAP_ADDR`: address of the LDAP server
|
||||
- `LDAP_BASE_DN`: base DN used when binding, see explanation below
|
||||
- `LDAP_USER_NAME_ATTR`: attribut with user name ised when binding, see explanation below (default=`cn`)
|
||||
- `LDAP_USER_MAIL_ATTR`: attribut containing the mail address of the user (default=`mail`)
|
||||
- `LDAP_TLS`: connect to the LDAP server using TLS (default=false)
|
||||
|
||||
Plume determines what to bind using `LDAP_BASE_DN`, `LDAP_USER_NAME_ATTR` and the user name.
|
||||
Assuming what you need Plume to bind is `username={user name},ou=users,dc=your-org`, the configuration would be the following:
|
||||
```bash
|
||||
LDAP_BASE_DN=ou=users,dc=your-org
|
||||
LDAP_USER_NAME_ATTR=username
|
||||
```
|
||||
|
|
|
@ -83,6 +83,8 @@ plm instance new
|
|||
plm users new --admin
|
||||
```
|
||||
|
||||
Note if you want to use LDAP: you should still create an administrator account, at least to give admin rights to your own LDAP account once it's registered.
|
||||
|
||||
On **Windows**, there might be an error creating the admin user. To get around this, you need to run:
|
||||
```
|
||||
plm users new --admin -n "adminusername" -N "Human Readable Admin Name" -b "Biography of Admin here" -p hackmeplease
|
||||
|
|
Loading…
Reference in a new issue