Koozali.org: home of the SME Server

FTP Access (lack of)

Chris

FTP Access (lack of)
« on: February 06, 2003, 02:45:04 AM »
I'm a bit of a noob to *nix, so be gentle...

I've been happily running 5.5 in server only on the DMZ of a firewall for quite a while.
Since moving to 5.6, I seem to have lost all FTP access, both from the LAN and from the red side.

FTP user account is set to Public and FTP access limits set to Normal.

whenever I try to log on, the connection is immediately rejected, with the following appearing in the log:
AllowChmod is deprecated, and will not work consistantly, use instead.
Fatal: : directive not allowed in context

This seems to appear before any commands are actually sent, as I've tried using a CLI client and as soon as I try to connect, the connection is closed.

Any ideas how to get FTP access back?

Charlie Brady

Re: FTP Access (lack of)
« Reply #1 on: February 06, 2003, 03:06:51 AM »
Chris wrote:

> Since moving to 5.6, I seem to have lost all FTP access, both
> from the LAN and from the red side.
>
> FTP user account is set to Public and FTP access limits set
> to Normal.
>
> whenever I try to log on, the connection is immediately
> rejected, with the following appearing in the log:
> AllowChmod is deprecated, and will not work consistantly, use

AllowChmod doesn't appear in the 5.6 proftpd configuration. You must have a custom template, or a non-standard package, which is interfering with correct ftp configuration.

Charlie

Chris

Re: FTP Access (lack of)
« Reply #2 on: February 06, 2003, 09:19:09 PM »
> AllowChmod doesn't appear in the 5.6 proftpd configuration.
> You must have a custom template, or a non-standard package,
> which is interfering with correct ftp configuration.

Ah! Now that rings a bell. I remember now, making a custom template to restrict the port range used by proftp.

Is there an easy way to restore the standard .conf?

Chris.

Bill Talcott

Re: FTP Access (lack of)
« Reply #3 on: February 06, 2003, 11:41:36 PM »
Chris wrote:
>
> Ah! Now that rings a bell. I remember now, making a custom
> template to restrict the port range used by proftp.
>
> Is there an easy way to restore the standard .conf?

Delete your custom template fragment and expand the template again. http://www.e-smith.org/custom/

Chris

Re: FTP Access (lack of)
« Reply #4 on: February 07, 2003, 02:46:50 AM »
Bill Talcott wrote:

> Delete your custom template fragment and expand the template again. http://www.e-smith.org/custom/

Wonderful !
Thanks gents for yor help. All is fine again.

Chris.