[Proftpd-user] Include within <Limit>

Vieri via Proftp-user <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hi,

Please correct me if I'm wrong, but according to the doc below the Inlcude directive can be defined within the Limit section.

http://www.proftpd.org/docs/modules/mod_core.html#Include
quote: "Context: server config, <VirtualHost>, <Global>, <Anonymous>, <Limit>, <Directory>"


However, I get the following error.

# /usr/sbin/proftpd -t
Checking syntax of configuration file
2017-08-29 08:58:02,899 inf-fw2 proftpd[29634]: fatal: Include: directive not allowed in <Limit> context on line 60 of '/etc/proftpd/proftpd.conf'

# grep --context=2 Include /etc/proftpd/proftpd.conf

<Limit LOGIN>
Include /etc/proftpd/user_list
DenyAll
</Limit>

# cat /etc/proftpd/user_list
AllowUser user1
AllowUser user2
AllowUser user3

It's not a big deal because I simply moved the Include outside Limit, and put Limit within the user_list file.
Nonetheless, I'd like to know if I made a mistake in my first setup, if I misunderstood something, or if there's a glitch in the doc.

Thanks,

Vieri

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.