From c8c9d625d329cbfb5c432a2015533125bace3ff2 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 13 Oct 2016 16:10:39 +0200 Subject: [PATCH] update config --- rootfs/etc/confd/templates/proftpd.conf.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootfs/etc/confd/templates/proftpd.conf.tmpl b/rootfs/etc/confd/templates/proftpd.conf.tmpl index 1c16df3..7e70569 100644 --- a/rootfs/etc/confd/templates/proftpd.conf.tmpl +++ b/rootfs/etc/confd/templates/proftpd.conf.tmpl @@ -8,6 +8,7 @@ MaxInstances 30 User proftp Group proftp DefaultRoot /var/lib/proftp/data +DefaultChdir /var/lib/proftp/data AllowOverwrite on RequireValidShell off @@ -19,6 +20,9 @@ PassivePorts {{getenv "PASSIVE_LOWER_BOUND"}} {{getenv "PASSIVE_UPPER_BOUND"}} AuthOrder mod_ldap.c + + LDAPAttr uid cn + LDAPServer {{getenv "LDAP_URI"}} LDAPUseTLS {{getenv "LDAP_USE_TLS"}} LDAPAuthBinds {{getenv "LDAP_USE_AUTH_BIND"}}