aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/.env.production.sample19
-rw-r--r--conf/message5
2 files changed, 10 insertions, 14 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample
index 203b74b..33f7d93 100644
--- a/conf/.env.production.sample
+++ b/conf/.env.production.sample
@@ -155,15 +155,16 @@ 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_SEARCH_FILTER="%{uid}=%{email}"
+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=uid=local,ou=users,dc=yunohost,dc=org
+LDAP_PASSWORD=
+LDAP_UID=uid
+LDAP_SEARCH_FILTER="%{uid}=%{email}"
+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 488d86d..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