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 +