update config
This commit is contained in:
parent
4fddf02c82
commit
a9758e9d52
@ -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>
|
Loading…
Reference in New Issue
Block a user