update config

This commit is contained in:
Sebastian Hugentobler 2016-10-13 15:30:26 +02:00
parent 4fddf02c82
commit a9758e9d52
No known key found for this signature in database
GPG Key ID: 7BBE74D3F626FC0F

View File

@ -9,12 +9,16 @@ User proftp
Group proftp Group proftp
DefaultRoot /var/lib/proftp/data DefaultRoot /var/lib/proftp/data
AllowOverwrite on AllowOverwrite on
RequireValidShell off
PassivePorts {{getenv "PASSIVE_LOWER_BOUND"}} {{getenv "PASSIVE_UPPER_BOUND"}}
<Limit SITE_CHMOD> <Limit SITE_CHMOD>
DenyAll DenyAll
</Limit> </Limit>
<IfModule mod_ldap.c> <IfModule mod_ldap.c>
AuthOrder mod_ldap.c
LDAPServer {{getenv "LDAP_URI"}} LDAPServer {{getenv "LDAP_URI"}}
LDAPUseTLS {{getenv "LDAP_USE_TLS"}} LDAPUseTLS {{getenv "LDAP_USE_TLS"}}
LDAPAuthBinds {{getenv "LDAP_USE_AUTH_BIND"}} LDAPAuthBinds {{getenv "LDAP_USE_AUTH_BIND"}}
@ -24,5 +28,7 @@ AllowOverwrite on
LDAPSearchScope subtree LDAPSearchScope subtree
LDAPDefaultUID 2222 LDAPDefaultUID 2222
LDAPDefaultGID 2222 LDAPDefaultGID 2222
LDAPForceDefaultUID on
LDAPForceDefaultGID on
LDAPGenerateHomedir off LDAPGenerateHomedir off
</IfModule> </IfModule>