summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2021-01-09 23:17:27 +0100
committerNicolas Lécureuil <neoclust@mageia.org>2021-01-09 23:17:38 +0100
commitec906bce54abe78be6a2eb0ff6b23c873c6d60a5 (patch)
tree6cd370c447085dd2bb3130c86cdb20f4aefa92a9
parent95a1c0c54697fb794a31322f6fa4e6e7fc60800c (diff)
downloaddrakwizard-ec906bce54abe78be6a2eb0ff6b23c873c6d60a5.tar
drakwizard-ec906bce54abe78be6a2eb0ff6b23c873c6d60a5.tar.gz
drakwizard-ec906bce54abe78be6a2eb0ff6b23c873c6d60a5.tar.bz2
drakwizard-ec906bce54abe78be6a2eb0ff6b23c873c6d60a5.tar.xz
drakwizard-ec906bce54abe78be6a2eb0ff6b23c873c6d60a5.zip
[ftp_wizard] fix default conf file for non default mod_ident (mga#28045)
-rw-r--r--ftp_wizard/scripts/proftpd.conf.default4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftp_wizard/scripts/proftpd.conf.default b/ftp_wizard/scripts/proftpd.conf.default
index 85443025..6d4ac56b 100644
--- a/ftp_wizard/scripts/proftpd.conf.default
+++ b/ftp_wizard/scripts/proftpd.conf.default
@@ -33,7 +33,9 @@ AccessDenyMsg " !-!! ACCESS DENY !!-! SEEMS YOU HAVE NO RIGHT THERE !!
AccessGrantMsg " -- Guest access granted for %u --"
# Perform identity lookup
-IdentLookups off
+<IfModule mod_ident.c>
+ IdentLookups off
+</IfModule>
# preform reverse lookup
UseReverseDNS off