mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
commit
125687566d
2 changed files with 10 additions and 11 deletions
|
@ -23,8 +23,7 @@
|
||||||
Level 1=auto
|
Level 1=auto
|
||||||
Level 2=auto
|
Level 2=auto
|
||||||
Level 3=auto
|
Level 3=auto
|
||||||
Level 4=na
|
Level 4=1
|
||||||
# level 4: https://github.com/YunoHost-Apps/lstu_ynh/issues/4
|
|
||||||
Level 5=auto
|
Level 5=auto
|
||||||
Level 6=auto
|
Level 6=auto
|
||||||
Level 7=auto
|
Level 7=auto
|
||||||
|
|
|
@ -178,14 +178,14 @@
|
||||||
# set `ldap` if you want that only authenticated users can shorten URLs
|
# set `ldap` if you want that only authenticated users can shorten URLs
|
||||||
# please note that everybody can still use shortend URLs
|
# please note that everybody can still use shortend URLs
|
||||||
# optional, no default
|
# optional, no default
|
||||||
#ldap => {
|
ldap => {
|
||||||
# uri => 'ldaps://ldap.example.org', # server URI
|
uri => 'ldap://localhost:389', # server URI
|
||||||
# user_tree => 'ou=users,dc=example,dc=org', # search base DN
|
user_tree => 'dc=yunohost,dc=org', # search base DN
|
||||||
# bind_dn => 'uid=ldap_user,ou=users,dc=example,dc=org', # search bind DN
|
bind_dn => 'ou=users,dc=yunohost,dc=org', # search bind DN
|
||||||
# bind_pwd => 'secr3t', # search bind password
|
# bind_pwd => '', # search bind password
|
||||||
# user_attr => 'uid', # user attribute (uid, mail, sAMAccountName, etc.)
|
user_attr => 'uid', # user attribute (uid, mail, sAMAccountName, etc.)
|
||||||
# user_filter => '(!(uid=ldap_user))', # user filter (to exclude some users, etc.)
|
# user_filter => '(!(uid=ldap_user))', # user filter (to exclude some users, etc.)
|
||||||
#},
|
},
|
||||||
|
|
||||||
# set `htpasswd` if you want to use an htpasswd file instead of ldap
|
# set `htpasswd` if you want to use an htpasswd file instead of ldap
|
||||||
# create the file with `htpasswd -c lstu.passwd user`, update it with `htpasswd lstu.passwd user2`
|
# create the file with `htpasswd -c lstu.passwd user`, update it with `htpasswd lstu.passwd user2`
|
||||||
|
|
Loading…
Add table
Reference in a new issue