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"}}