Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Andrew DeFaria Newsgroups: gmane.os.cygwin Subject: Re: Anonymous ftp on 1.3.9 Date: Thu, 21 Mar 2002 08:16:38 -0800 Lines: 83 Message-ID: <3C9A0766.2040705@DeFaria.com> References: <3C97E7F9 DOT 10602 AT Salira DOT com> <471575205 DOT 20020320094429 AT syntrex DOT com> <3C98ED84 DOT 4070302 AT Salira DOT com> <1661350862 DOT 20020321115454 AT syntrex DOT com> Reply-To: cygwin AT cygwin DOT com NNTP-Posting-Host: 206.184.204.2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1016727401 12048 206.184.204.2 (21 Mar 2002 16:16:41 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Thu, 21 Mar 2002 16:16:41 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en,ru Again, please stop emailing me directly - keep in on the list! Pavel Tsekov wrote: > Hello Andrew, > > Wednesday, March 20, 2002, 9:13:56 PM, you wrote: > > AD> Pavel Tsekov wrote: > > >>>Hello Andrew, >>> >>>Wednesday, March 20, 2002, 2:38:01 AM, you wrote: >>> >>>AD> I had set up anonymous ftp before and it was working find (probably >>>AD> around 1.3.6). Now on 1.3.9 it doesn't seem to be working right. I've >>> >>>What exactly isn't working ? >>> > > AD> adefaria:/bin/ftp adefaria > AD> Connected to adefaria.SALIRA.COM. > AD> 220- Welcome to adefaria's ftp service > AD> 220 adefaria FTP server (GNU inetutils 1.3.2) ready. > AD> Name (adefaria:adefaria): anonymous > AD> 331 Guest login ok, send your complete e-mail address as password. > AD> Password: > AD> 530 Login incorrect. > AD> /bin/ftp: Login failed. > AD> Remote system type is UNIX. > AD> Using binary mode to transfer files. > ftp>> > > Ok, check your /etc/ftpusers - maybe it has anonymous listed in it > (the default). If so remove it ... If you still have problems stick to > /usr/doc/Cygwin/inetutils-x.x.x.README. No, anonymous is not in /etc/ftpusers. /etc/ftpusers is a 0 length file. Besides, as I said before (hmmm... maybe I didn't) I had this working already on a server. Anonymous ftp was working just fine then it broke. So I had already went through all of the steps to get it to work correctly. I believe I installed a new version of Cygwin and it broke. Now I know installing a new version of Cygwin changes things, but I have this customized setup script that I wrote and one of the things it does is to recreate the steps I used last time to get anonymous ftp setup on the server only. Plus I recreated, by hand, and checked all the things in ftpd(1) re setting up anonymous ftp. Still I'm stuck. > [snip] > > >>>I think not, but again you don't say what isn't working >>> > > AD> As shown above, I cannot successfully login as anonymous through ftpd > > Ok, but at least you know that "fcntl F_SETOWN: Invalid argument." has > nothing to do with your problem. I'm not necessarily totally convinced that this has nothing to do with the problem. I've read that this error message comes out even with non anonymous ftp. However perhaps, with anonymous ftp, this error message is pertenent or perhaps is pointing a finger towards the real problem. Maybe not. My thoughts are that some sort of security check has been tightened up in some manner such that this is now broken. OK, here's a though: My /etc/passwd file is a symlink to a global password file. This makes maintainance a lot easier. And besides, it's not like Cygwin is a real OS where you login. Anyways I learned, however, that on NT 4 a symlinked /etc/passwd file does not work when you telnet or rsh to a machine (apparently login.exe on NT 4 is a bit more picky than login on 2000/Xp). So perhaps in.ftpd got more picky about this on 2000/Xp with Cygwin 1.3.9. I'll have to check this out when I get to work today. Nope. just tried this on my home machine, no symlinked /etc/passwd, still doesn't work. I have 1.3.10 at home. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/