diff --git a/README.md b/README.md index 2677d34..923cf7a 100644 --- a/README.md +++ b/README.md @@ -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] ARM support +* end-user configuration required: + * [x] LDAP integration + * to be added: * [ ] Store files in HOME, see https://github.com/YunoHost-Apps/funkwhale_ynh/issues/15 diff --git a/conf/env.prod b/conf/env.prod index 5df5293..d682054 100644 --- a/conf/env.prod +++ b/conf/env.prod @@ -128,13 +128,15 @@ MUSIC_DIRECTORY_PATH=__FINALPATH__/data/music # Have a look at https://docs.funkwhale.audio/installation/ldap.html for # detailed instructions. -# LDAP_ENABLED=False -# LDAP_SERVER_URI=ldap://your.server:389 -# LDAP_BIND_DN=cn=admin,dc=domain,dc=com -# LDAP_BIND_PASSWORD=bindpassword -# LDAP_SEARCH_FILTER=(|(cn={0})(mail={0})) -# LDAP_START_TLS=False -# LDAP_ROOT_DN=dc=domain,dc=com +LDAP_ENABLED=True +LDAP_SERVER_URI=ldap://localhost:389 +# enable anonymous searches https://django-auth-ldap.readthedocs.io/en/latest/authentication.html?highlight=anonymous#search-bind +LDAP_BIND_DN='' +LDAP_BIND_PASSWORD='' +LDAP_SEARCH_FILTER=(|(uid={0})) +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 diff --git a/manifest.json b/manifest.json index f61e26e..2314e12 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ "description": { "en": "A modern, convivial and free music server" }, - "version": "0.17.0~ynh1", + "version": "0.17.0~ynh2", "url": "https://funkwhale.audio", "license": "BSD-3-Clause", "maintainer": {