diff options
Diffstat (limited to 'modules/private/ftp.nix')
-rw-r--r-- | modules/private/ftp.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/private/ftp.nix b/modules/private/ftp.nix index 9b6a98f..e3c1f70 100644 --- a/modules/private/ftp.nix +++ b/modules/private/ftp.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { lib, pkgs, config, myconfig, ... }: | 1 | { lib, pkgs, config, ... }: |
2 | let | 2 | let |
3 | package = pkgs.pure-ftpd.override { ldapFtpId = "immaeFtp"; }; | 3 | package = pkgs.pure-ftpd.override { ldapFtpId = "immaeFtp"; }; |
4 | in | 4 | in |
@@ -55,17 +55,17 @@ in | |||
55 | user = "ftp"; | 55 | user = "ftp"; |
56 | group = "ftp"; | 56 | group = "ftp"; |
57 | text = '' | 57 | text = '' |
58 | LDAPServer ${myconfig.env.ftp.ldap.host} | 58 | LDAPServer ${config.myEnv.ftp.ldap.host} |
59 | LDAPPort 389 | 59 | LDAPPort 389 |
60 | LDAPUseTLS True | 60 | LDAPUseTLS True |
61 | LDAPBaseDN ${myconfig.env.ftp.ldap.base} | 61 | LDAPBaseDN ${config.myEnv.ftp.ldap.base} |
62 | LDAPBindDN ${myconfig.env.ftp.ldap.dn} | 62 | LDAPBindDN ${config.myEnv.ftp.ldap.dn} |
63 | LDAPBindPW ${myconfig.env.ftp.ldap.password} | 63 | LDAPBindPW ${config.myEnv.ftp.ldap.password} |
64 | LDAPDefaultUID 500 | 64 | LDAPDefaultUID 500 |
65 | LDAPForceDefaultUID False | 65 | LDAPForceDefaultUID False |
66 | LDAPDefaultGID 100 | 66 | LDAPDefaultGID 100 |
67 | LDAPForceDefaultGID False | 67 | LDAPForceDefaultGID False |
68 | LDAPFilter ${myconfig.env.ftp.ldap.filter} | 68 | LDAPFilter ${config.myEnv.ftp.ldap.filter} |
69 | 69 | ||
70 | LDAPAuthMethod BIND | 70 | LDAPAuthMethod BIND |
71 | 71 | ||