This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FTPD is still not working



I've been working on software that utilized the cygwin ftpd daemon. Everything
was working
fine in March-April. Then I took a break from the NT development and
concentrated on
UNIX. In the meantime, I downloaded new releases of inetutils (and other
modules) as they
became available and installed them without fanfare. Unfortunately, I didn't
test the ftp server
software and "dumbly" assumed it would work as it always had.

    GOTCHA!!!!!!!!

When I attempted to incorporate the NT work I had earlier accomplished into the
near finished
project, I was in for a nasty surprise. NT FTP NO LONGER WORKED. After some
research
through the mail archives, I found this post:

######################################################
######################################################
######################################################

Re: [ANNOUNCEMENT] Updated: inetutils-1.3.2-13
To: Corinna Vinschen <cygwin at cygwin dot com>
Subject: Re: [ANNOUNCEMENT] Updated: inetutils-1.3.2-13
From: "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
Date: Wed, 23 May 2001 23:25:46 +0200
Organization: Esse keine toten Tiere
References: <3B0AF4D4.8719.2475C4F1@localhost>; from gerrit.haase@t-online.de on
 Tue, May 22, 2001 at 11:23:00PM +0200
Reply-to: gerrit dot haase at t-online dot de



Corinna Vinschen schrieb am 2001-05-23, 10:42:

> On Tue, May 22, 2001 at 11:23:00PM +0200, Gerrit P. Haase wrote:
> > Corinna Vinschen schrieb am 2001-05-22, 10:47:
> >
> > > I've updated the version of inetutils in cygwin/latest to 1.3.2-13.
> >
> > I will never understand all this...
>
> I think, I do. It's probably my fault.
>
> > And why am I SYSTEM now?
>
> Are you using ntsec? If not, could you set CYGWIN to contain ntsec
> for inetd and look if that changes things for you?


Yes, sure am I using ntsec, as systemwide Variable and also in cygwin.bat:
1: inetd got no TTY:
$ ps -e
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
      433       1     433        433    1  500 22:33:33 /usr/bin/bash
      390     433     390        532    1  500 22:39:19 /usr/local/bin/perl
      284       1     284        284    0  500 22:54:14 /usr/bin/bash
      528       1     528        528    ?   18 22:55:03 /usr/sbin/inetd
      242     528     528        242    ?   18 22:55:15 /usr/sbin/inetd
      481     284     481        412    0  500 22:55:21 /usr/bin/ps

2: it is UID 18

3: CYGWIN is:
$ set
[...]
CYGWIN=$'binmode tty ntea ntsec title case_check:strict'
[...]

4: After login with telnet, i'm User SYSTEM, BASH=/bin/sh and
NO CYGWIN at all, login to ftpd fails (failed not before upgrade).
I don't use rsh so i don't know if it is different now.

> Sigh, I fear I have to change this and that in the authentication
> code in Cygwin...

O.K. i'll try next release.

> Unfortunately, this code is executed even if ntsec is off while another
> piece of code which tries to evaluate the current user is partly not
> executed when ntsec is off. AFAICS, this results in a misinterpretation
> of the user information.

Hmm, i never turn off ntsec if not trying a new port of some cute software.

gph

######################################################
######################################################
######################################################

This is precisely the problem I am having. And I am using the very latest
release inetutils-1.3.2-14.
Is there something I'm missing? If this is still an ongoing problem, then is it
possible to get
a copy of inetutils that didn't have this problem? I do not have backups of  the
 distribution code
from March-April.  (I wish I did!)  I'm really under the gun here.

Thanks
Brian Kelly



--
This electronic message contains information that may be legally confidential and/or privileged.  The information is intended solely for the individual or entity named above and access by anyone else is unauthorized.  If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful.  If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it.
--



--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]