[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX ftpd problem




>>>>> "Fabrizio" == Fabrizio Manfredi <vipi@fastflowsrl.com> writes:
    >> I don't udenstand why ( the original ftpd work ) same same
    >> thing is hppened with heimdal ...
    >> 
    >> where is my error ? which file of conf i need ?

Looking at the source code, I can see that error in three places in ftpd.c:

- if name == "ftp" or "anonymous". That doesn't look like the case here.

- if checkaccess(name) fails.

- if sec_userok(name) fails. I think this only occurs for Kerberos
authentication.

Which leaves checkaccess(name) failing.

Hmm. as far as I can tell, checkaccess, looks at /etc/ftpusers.
Do you have this file installed? Perhaps it might be a problem.
If this file doesn't exist, don't create it though, as it means
I have got something wrong ;-).

However, I haven't been able to get ftp working since 0.2l (on Linux).

S:232 User bam logged in.
S:200 Data protection is private.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
S:150 Opening ASCII mode data connection for '/bin/ls'.
421 Service not available, remote server has closed connection

(this is talking to the localhost, so network problems shouldn't
occur).

However, this problem only occurs with both a 0.2t client and
server. If the client is 0.2l, it works. IIRC and the server was
0.2l, it also worked.

However, I don't have time right now to chase this up.
-- 
Brian May <bmay@csse.monash.edu.au>