aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/.env.production.sample23
-rw-r--r--conf/message5
2 files changed, 10 insertions, 18 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample
index 8b992d9..d2f4b91 100644
--- a/conf/.env.production.sample
+++ b/conf/.env.production.sample
@@ -170,19 +170,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_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_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 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