mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
Enable LDAP authentication
This commit is contained in:
parent
66a872ce9c
commit
27fcff41de
2 changed files with 5 additions and 5 deletions
|
@ -102,7 +102,7 @@ session_cookiesecure = 0
|
||||||
; If auto_create isn't enabled the user must exist locally.
|
; If auto_create isn't enabled the user must exist locally.
|
||||||
; DEFAULT: mysql
|
; DEFAULT: mysql
|
||||||
; VALUES: mysql,ldap,http,pam,external,openid
|
; VALUES: mysql,ldap,http,pam,external,openid
|
||||||
auth_methods = "http,mysql"
|
auth_methods = "ldap"
|
||||||
|
|
||||||
; External authentication
|
; External authentication
|
||||||
; This sets the helper used for external authentication. It should conform to
|
; This sets the helper used for external authentication. It should conform to
|
||||||
|
@ -613,13 +613,13 @@ show_footer_statistics = "true"
|
||||||
; For OpenLDAP use "uid"
|
; For OpenLDAP use "uid"
|
||||||
; For Microsoft Active Directory (MAD) use "sAMAccountName"
|
; For Microsoft Active Directory (MAD) use "sAMAccountName"
|
||||||
; DEFAULT: null
|
; DEFAULT: null
|
||||||
;ldap_filter = "(sAMAccountName=%v)"
|
ldap_filter = "(uid=%v)"
|
||||||
|
|
||||||
; LDAP objectclass (required)
|
; LDAP objectclass (required)
|
||||||
; OpanLDAP objectclass = "*"
|
; OpanLDAP objectclass = "*"
|
||||||
; MAD objectclass = "organizationalPerson"
|
; MAD objectclass = "organizationalPerson"
|
||||||
; DEFAULT null
|
; DEFAULT null
|
||||||
ldap_objectclass = "posixAccount"
|
ldap_objectclass = "mailAccount"
|
||||||
|
|
||||||
; Initial credentials to bind with for searching (optional)
|
; Initial credentials to bind with for searching (optional)
|
||||||
; DEFAULT: null
|
; DEFAULT: null
|
||||||
|
@ -632,7 +632,7 @@ ldap_objectclass = "posixAccount"
|
||||||
|
|
||||||
; This is the search dn used to find users (required)
|
; This is the search dn used to find users (required)
|
||||||
; DEFAULT: null
|
; DEFAULT: null
|
||||||
ldap_search_dn = "dc=yunohost,dc=org"
|
ldap_search_dn = "ou=users,dc=yunohost,dc=org"
|
||||||
|
|
||||||
; This is the address of your ldap server (required)
|
; This is the address of your ldap server (required)
|
||||||
; DEFAULT: null
|
; DEFAULT: null
|
||||||
|
|
|
@ -22,6 +22,6 @@ location PATHTOCHANGE {
|
||||||
rewrite ^PATHTOCHANGE/rest/(.*)\.view$ PATHTOCHANGE/rest/index.php?action=$1 last;
|
rewrite ^PATHTOCHANGE/rest/(.*)\.view$ PATHTOCHANGE/rest/index.php?action=$1 last;
|
||||||
}
|
}
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
# include conf.d/yunohost_panel.conf.inc;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue