Access Denied for every user to FTP Server.

I am using 10.4.5 server.

When I try to connect to the FTP server, from any user (including anonymous) I get login incorrect.

Here is a typical session:


220 mammoth FTP server (Version: Mac OS X Server 10.4.14 - +GSSAPI) ready.
Name (localhost:root): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password: <a@b.com>
530 Login incorrect.
ftp: Login failed.
ftp>


What can be causing this? It has never worked for me.

James

PowerBook G4 15 Mac OS X (10.4.3)

Posted on Mar 20, 2006 9:47 AM

Reply
11 replies

Mar 20, 2006 10:11 AM in response to James Dicken

I would check the following items:

1. Firewall: verify that you have the FTP port (21) open and any necessary ports for authentication (all for Kerberos and Password Server).

2. In Server Admin, FTP section: Make sure that you have anonymous access set appropriately, and that the maximum number of simultaneous connections is appropriate. You may wish to stop and start the FTP server.

3. In Server Admin, with the server selected: Click Settings (near the bottom), then Access (near the top). Make sure that the service ACLs are configured to allow access to the FTP server for the appropriate users or groups.

4. In Workgroup Manager, Sharing section. Select the share point in question and verify that FTP Access is enabled in the Protocols tab. Also make sure that FTP Guest Access is enabled or disabled, as you desire.

--Gerrit

Mar 21, 2006 9:02 PM in response to James Dicken

Yes, that's a list of users who are denied FTP access. Each process has its own way of controlling access in addition to the service access controls (SACLs) model. As is the case with many processes, it is unreasonable to list hundreds of denied users in /etc/ftpusers. It's just as effective and easier to create a SACL entry to allow a group of users using Server Admin.

On that note, I wouldn't delete or modify the /etc/ftpusers file - it ensures that the System Administrator (root) and other system users cannot connect to your server remotely via FTP.

--Gerrit

Mar 22, 2006 3:30 AM in response to James Dicken

Hello,

I wanted to add to this topic since I am having the same exact problem. We had been using the FTP service with no problems until 3 weeks ago. I was tempted to think that it stopped working in conjunction with some security/system updates that were installed. I have also tried restarting the service, and checking all the settings in the Server Admin. Everyone can connect to the FTP service, but it won't accept any users. All other open-directory-based file services (AFP, SMB) are working fine.

Any help is appreciated!

-Alex Brandmeyer

PowerMac G5 Mac OS X (10.4.5)

Mar 31, 2006 2:56 PM in response to Alex Brandmeyer

From my own struggles with this very problem, that is what is generated when you try to sign in with a "username" that doesn't exist in the system. So when I just type anything in the system, I get that, where as when I type my username it gives me something even more interesting. When I'm at the terminal window and I type my username, and hit "enter" it's already denied me.

so I get FTP LOGIN REFUSED (access denied) as soon as I type my USERNAME

Apr 1, 2006 5:43 AM in response to James Dicken

Hi,

I also have this problem with only the root user for the machine able to login. However, I found that in /Library/FTPServer/Configuration there is a file called ftpaccess, which contains the config for the service, and by replacing this file with the ftpaccess.default file in the same location the problem was resolved. However, I do get the same problem reoccur sometimes, so this isn't a complete solution but resolves the issue.

Hope this helps

Apr 3, 2006 3:29 PM in response to Gary Savill

Hello

I had the same problem first on December 2005 when I setup my first XServer and discovered that the problem occurs when Server Admin.app is open and communicating to the remote server. On every refresh of Server Admin.app the ftp settings of ftpaccess are retransmitted to the server. In certain circumstance the file will be corrupted and is not complete. In December I have talked to apple support and the supporter was able to reproduce the problem. According to him, he has "escalated" the problem internally.

best regards, relume

May 2, 2006 7:07 AM in response to Gary Savill

Thanks for this post - it fixed the problem for me as well - now all I have to do is figure out why the file gets written improperly.

FYI - when I do a "file ftpaccess" command on the ftpaccess.default, it returns "ASCII C++ Program Text"

Same command on the file that was corrupted returns "ASCII Text"


Seems like Server Admin.app gets a bit confused sometimes....

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Access Denied for every user to FTP Server.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.