Subject: Can't create data socket error

From: [email-masked]
Date: Wed, 26 May 1999 03:26:47 -0700

Can someone tell me what is causing the following error when typing the
"dir" command after logging in:

425 Can't create data socket (0.0.0.0.20):  No such file or directory

Our ftpd is set up such that it does authentication via NIS+ or LDAP and
drops users into their home directory/public_html.  This is on Solaris
2.5.1.

I have another question.  We would like to enable in the ftpaccess file -
groupguest guest (chroot) - so that user's can't cd outside their home
directory. They see their path as "/public_html"  when they do "pwd" rather
than the entire fully qualified home directory.  The problem is that when a
user uses Netscape Composer, the path to access the ftp server includes a
prefix of ftp://ftp.xxx.xx/upload/userid and that fails when the chroot is
enabled.

Is there a way to set up aliasing with wildcards so that when they try to go
to ftp://ftp.XXX.XX/upload/userid, it will take them to their home
directory/public_html and ignore the upload prefix. ( i.e. alias /upload/*
to /public_html)

Thanks,
Maribeth

----------------------------------
Maribeth Miguel
[email-masked]

----------------------------------
Maribeth Miguel
SBC Internet Services
Product & Systems Development
(415) 442-4182
[email-masked]

---

From: Gregory A Lundberg <[email-masked]>
Date: Wed, 26 May 1999 09:34:12 -0400 (EDT)

This is a FAQ

The location of the latest version of wu-ftpd can be found in the 
directory
 
      ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
 
wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd FAQ:              http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

-- 

Gregory A Lundberg              Senior Partner, VRnet Company
1441 Elmdale Drive              [email-masked]
Kettering, OH 45409-1615 USA    1-800-809-2195

---

From: Bob Luckin <[email-masked]>
Date: Wed, 26 May 1999 11:44:43 CDT

> 425 Can't create data socket (0.0.0.0.20):  No such file or directory

There are a number of possible causes.  Check out the FAQ at 
   http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html#QA42
for more details.

A good starting point for support for the wuftpd daemon is Kent Landfield's
WU-FTPD Resource Center at
   http://www.landfield.com/wu-ftpd/
This contains links to the FAQ and other useful documentation, including a
"how-to" guide for Solaris 2.5.x...

> directory/public_html and ignore the upload prefix. ( i.e. alias /upload/*

Sounds like Netscape Composer has a design flaw if it doesn't let the user
supply the pathname they want.

One possibility might be to mount each user's public_html directory as
/upload/userid using loopback mounts; I think this will only work if the user's
directory is on the same disk as the upload mount point, though.

Good luck !

Cheers, Bob
-- 
Bob Luckin      [email-masked]      "Coder, adapt.  FTP Ada, redo C"
                                 [http://www.dhc.net/~luckin/palindromes.html]