Whaley, Jason
2006-01-18 18:16:02 UTC
Here's another problem I've been beating my head over.
Per the instructions on the VirtualUsers Readme, I created a user and
group for virtual users (ftpuser:ftpgroup). I've created a virtual user
using the following command:
pure-pw useradd jtwhaley2 -u ftpuser -d /path/to/dir -m
I've started pure-ftpd with the following command:
pure-ftpd -Eb -j -A -lpuredb:/etc/pureftpd.pdb
The user gets authenticated, but I receive the following error at the
end of the connection:
Error: Timeout detected!
Error: Could not retrieve directory listing
I've ensured the directory above the home directory I'm assigning has
rwx for both ftpuser and ftpgroup.
Any ideas?
Here's the rest of the ftp request/response:
Response: 220---------- Welcome to Pure-FTPd ----------
Response: 220-You are user number 3 of 50 allowed.
Response: 220-Local time is now 13:10. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of
inactivity.
Command: USER jtwhaley2
Response: 331 User jtwhaley2 OK. Password required
Command: PASS ********
Response: 230-User jtwhaley2 has group access to: 99
Response: 230 OK. Current directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST
type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: TVFS
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: 211 End.
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode ($IPAddressOfServer)
Command: LIST
Response: 150 Accepted data connection
Response: 226-Options: -l
Response: 226 0 matches total
Error: Timeout detected!
Error: Could not retrieve directory listing
---------------------------------------------------------------------
To post a new message, e-mail: ***@pureftpd.org
To unsubscribe, e-mail: list-***@pureftpd.org
For additional commands, e-mail: list-***@pureftpd.org
Per the instructions on the VirtualUsers Readme, I created a user and
group for virtual users (ftpuser:ftpgroup). I've created a virtual user
using the following command:
pure-pw useradd jtwhaley2 -u ftpuser -d /path/to/dir -m
I've started pure-ftpd with the following command:
pure-ftpd -Eb -j -A -lpuredb:/etc/pureftpd.pdb
The user gets authenticated, but I receive the following error at the
end of the connection:
Error: Timeout detected!
Error: Could not retrieve directory listing
I've ensured the directory above the home directory I'm assigning has
rwx for both ftpuser and ftpgroup.
Any ideas?
Here's the rest of the ftp request/response:
Response: 220---------- Welcome to Pure-FTPd ----------
Response: 220-You are user number 3 of 50 allowed.
Response: 220-Local time is now 13:10. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of
inactivity.
Command: USER jtwhaley2
Response: 331 User jtwhaley2 OK. Password required
Command: PASS ********
Response: 230-User jtwhaley2 has group access to: 99
Response: 230 OK. Current directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST
type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: TVFS
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: 211 End.
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode ($IPAddressOfServer)
Command: LIST
Response: 150 Accepted data connection
Response: 226-Options: -l
Response: 226 0 matches total
Error: Timeout detected!
Error: Could not retrieve directory listing
---------------------------------------------------------------------
To post a new message, e-mail: ***@pureftpd.org
To unsubscribe, e-mail: list-***@pureftpd.org
For additional commands, e-mail: list-***@pureftpd.org