Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RESOLVED] [10.4 not 10.3] Re: [10.3] FTP with custom home directories



It was the stupid firewall (or sysadmin = me lol):

http://www.afp548.com/forum/viewtopic.php?forum=18&showtopic=3327

Dan T

On Aug 12, 2005, at 10:48 AM, Dan Tappin wrote:

OK... I created a regular home directory via the WGM and I'm forgetting about the web part of it for now. I have a home directory mount point and FTP access enabled and the firewall is open (I double checked the logs also).

I try to connect via the CLI (in verbose debug mode):

230 User dan logged in.
---> SYST
215 UNIX Type: L8 Version: BSD-199506
Remote system type is UNIX.
Using binary mode to transfer files.
---> FEAT
211-Supported features:
REST STREAM
ADAT
AUTH
CCC
CONF
ENC
MIC
PBSZ
PROT
MDTM
SIZE
211 End
features[0] = 1
features[1] = 1
features[2] = 0
features[3] = 1
features[4] = 1
features[5] = 0
---> PWD
257 "/" is current directory.
got remotepwd as `/'
ftp> ls
---> EPSV
502 'EPSV': command not understood.
disabling epsv4 for this connection
---> PASV
227 Entering Passive Mode (68,146,96,245,200,211)
---> PORT 192,168,0,146,214,209
200 PORT command successful.
---> LIST
425 Can't build data connection: Connection refused.

I can login but a directory listing fails.

Everytime I connect via FTP I get these in the system log:

DirectoryService[41]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)

Dan T

On Aug 12, 2005, at 9:20 AM, Dan Tappin wrote:


I've tried that. I edited my users and created the custom home paths. When I connect to the server via the cli ftp the connections time out. I tried via my web dev app (Go Live), tried to create a folder on the server and the system.log showed a blocked attempt to make a folder in /Library/FTPServer/FTPRoot/.

This path is specified in the admin section under FTP and I have 'Home Directories' selected.

It seems something is not connecting between users logging in and their home directories.

Also how to I get the FTP server to log activity? My /var/log/ ftp.log files are empty. I can't seem to find any other log files to troubleshoot this.

Dan T

On Aug 12, 2005, at 4:42 AM, Josh Wisenbaker wrote:




On Aug 11, 2005, at 11:28 PM, Dan Tappin wrote:




I want to grant a handfull of users FTP access to a few websites they admin. I want to specify users to have a home directory i.e. that is the same as their www root. Example:

user1:

/var/www/user1/

user2:

/var/www/user2/

In the WGM it seems impossible to create a sharepoint in /var/ *. I have the existing users and the site in the WGM.

Is their an easy way to do this? I read the manual and it's quite basic and does not really help at all. Can anyone point me in the right direction on this?




You could probably just turn on the inspector in WGM and change the home that way. Or use dscl.


Josh


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/dan% 40orourke.ca


This email sent to email@hidden




_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >[10.3] FTP with custom home directories (From: Dan Tappin <email@hidden>)
 >Re: [10.3] FTP with custom home directories (From: Josh Wisenbaker <email@hidden>)
 >[10.4 not 10.3] Re: [10.3] FTP with custom home directories (From: Dan Tappin <email@hidden>)
 >Re: [10.4 not 10.3] Re: [10.3] FTP with custom home directories (From: Dan Tappin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.