mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
Add LDAP support
This commit is contained in:
parent
636e3d1c7c
commit
3e44180708
3 changed files with 13 additions and 8 deletions
|
@ -24,6 +24,9 @@ The admin interface is accessible with the address: your.domain.fr/api/admin
|
||||||
* [x] [CLI Import](https://docs.funkwhale.audio/importing-music.html#from-music-directory-on-the-server) Remember to `source $final_path/venv/bin/activate`, then `source $final_path/load_env` before typinh using manage.py.
|
* [x] [CLI Import](https://docs.funkwhale.audio/importing-music.html#from-music-directory-on-the-server) Remember to `source $final_path/venv/bin/activate`, then `source $final_path/load_env` before typinh using manage.py.
|
||||||
* [x] ARM support
|
* [x] ARM support
|
||||||
|
|
||||||
|
* end-user configuration required:
|
||||||
|
* [x] LDAP integration
|
||||||
|
|
||||||
* to be added:
|
* to be added:
|
||||||
* [ ] Store files in HOME, see https://github.com/YunoHost-Apps/funkwhale_ynh/issues/15
|
* [ ] Store files in HOME, see https://github.com/YunoHost-Apps/funkwhale_ynh/issues/15
|
||||||
|
|
||||||
|
|
|
@ -128,13 +128,15 @@ MUSIC_DIRECTORY_PATH=__FINALPATH__/data/music
|
||||||
# Have a look at https://docs.funkwhale.audio/installation/ldap.html for
|
# Have a look at https://docs.funkwhale.audio/installation/ldap.html for
|
||||||
# detailed instructions.
|
# detailed instructions.
|
||||||
|
|
||||||
# LDAP_ENABLED=False
|
LDAP_ENABLED=True
|
||||||
# LDAP_SERVER_URI=ldap://your.server:389
|
LDAP_SERVER_URI=ldap://localhost:389
|
||||||
# LDAP_BIND_DN=cn=admin,dc=domain,dc=com
|
# enable anonymous searches https://django-auth-ldap.readthedocs.io/en/latest/authentication.html?highlight=anonymous#search-bind
|
||||||
# LDAP_BIND_PASSWORD=bindpassword
|
LDAP_BIND_DN=''
|
||||||
# LDAP_SEARCH_FILTER=(|(cn={0})(mail={0}))
|
LDAP_BIND_PASSWORD=''
|
||||||
# LDAP_START_TLS=False
|
LDAP_SEARCH_FILTER=(|(uid={0}))
|
||||||
# LDAP_ROOT_DN=dc=domain,dc=com
|
LDAP_START_TLS=False
|
||||||
|
LDAP_ROOT_DN=ou=users,dc=yunohost,dc=org
|
||||||
|
LDAP_USER_ATTR_MAP={"username":"uid"}
|
||||||
|
|
||||||
FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist
|
FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"description": {
|
"description": {
|
||||||
"en": "A modern, convivial and free music server"
|
"en": "A modern, convivial and free music server"
|
||||||
},
|
},
|
||||||
"version": "0.17.0~ynh1",
|
"version": "0.17.0~ynh2",
|
||||||
"url": "https://funkwhale.audio",
|
"url": "https://funkwhale.audio",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
Loading…
Reference in a new issue