aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-04-16 20:38:16 +0200
committerGitHub <noreply@github.com>2020-04-16 20:38:16 +0200
commit6b30109fc986d83166b1805ec3ad7e28200e3743 (patch)
tree78e18208680a5eae1b0c5d38a10d0542e1f63854 /conf
parent7e1f4c2dee5f2c8374686aea62f4648cdf2722c3 (diff)
parent6650cdd372df215e37250501f6ab8d345941a29b (diff)
downloadmastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.tar.gz
mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.tar.bz2
mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.zip
Merge pull request #212 from YunoHost-Apps/testing
Implement LDAP
Diffstat (limited to 'conf')
-rw-r--r--conf/.env.production.sample27
-rw-r--r--conf/message5
2 files changed, 14 insertions, 18 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample
index 8b992d9..d27bf87 100644
--- a/conf/.env.production.sample
+++ b/conf/.env.production.sample
@@ -170,19 +170,20 @@ STREAMING_CLUSTER_NUM=1
# GID=1000
# LDAP authentication (optional)
-# LDAP_ENABLED=true
-# LDAP_HOST=localhost
-# LDAP_PORT=389
-# LDAP_METHOD=simple_tls
-# LDAP_BASE=ou=users,dc=yunohost,dc=org
-# LDAP_BIND_DN=uid=__LDAP_USER__,ou=users,dc=yunohost,dc=org
-# LDAP_PASSWORD=__LDAP_PASSWORD__
-# LDAP_UID=uid
-# LDAP_MAIL=mail
-# LDAP_SEARCH_FILTER=(|(%{uid}=%{email})(%{mail}=%{email}))
-# LDAP_UID_CONVERSION_ENABLED=true
-# LDAP_UID_CONVERSION_SEARCH=., -
-# LDAP_UID_CONVERSION_REPLACE=_
+LDAP_ENABLED=true
+LDAP_HOST=localhost
+LDAP_PORT=389
+LDAP_METHOD=start_tls
+LDAP_BASE=ou=users,dc=yunohost,dc=org
+LDAP_BIND_DN=uid=local,ou=users,dc=yunohost,dc=org
+LDAP_PASSWORD=
+LDAP_UID=uid
+LDAP_MAIL=mail
+LDAP_SEARCH_FILTER=(|(%{uid}=%{email})(%{mail}=%{email}))
+LDAP_UID_CONVERSION_ENABLED=true
+LDAP_UID_CONVERSION_SEARCH=., -
+LDAP_UID_CONVERSION_REPLACE=_
+LDAP_TLS_NO_VERIFY=true
# PAM authentication (optional)
# PAM authentication uses for the email generation the "email" pam variable
diff --git a/conf/message b/conf/message
deleted file mode 100644
index 403c4e0..0000000
--- a/conf/message
+++ /dev/null
@@ -1,5 +0,0 @@
-Mastodon was successfully installed :)
-Please open : https://__DOMAIN____PATH_URL__
-The admin email is: __ADMIN_MAIL__
-The admin password is: __ADMIN_PASS__
-If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/mastodon_ynh \ No newline at end of file