From a9758e9d529fb1b068ece50b35c1199cb0e9d8e4 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 13 Oct 2016 15:30:26 +0200 Subject: [PATCH] update config --- rootfs/etc/confd/templates/proftpd.conf.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/proftpd.conf.tmpl b/rootfs/etc/confd/templates/proftpd.conf.tmpl index f0c89dc..1c16df3 100644 --- a/rootfs/etc/confd/templates/proftpd.conf.tmpl +++ b/rootfs/etc/confd/templates/proftpd.conf.tmpl @@ -9,12 +9,16 @@ User proftp Group proftp DefaultRoot /var/lib/proftp/data AllowOverwrite on +RequireValidShell off + +PassivePorts {{getenv "PASSIVE_LOWER_BOUND"}} {{getenv "PASSIVE_UPPER_BOUND"}} DenyAll + AuthOrder mod_ldap.c LDAPServer {{getenv "LDAP_URI"}} LDAPUseTLS {{getenv "LDAP_USE_TLS"}} LDAPAuthBinds {{getenv "LDAP_USE_AUTH_BIND"}} @@ -24,5 +28,7 @@ AllowOverwrite on LDAPSearchScope subtree LDAPDefaultUID 2222 LDAPDefaultGID 2222 + LDAPForceDefaultUID on + LDAPForceDefaultGID on LDAPGenerateHomedir off - \ No newline at end of file +