public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* problem with telnet and ftp server on win 2K
@ 2002-04-30  4:14 John Vincent
  2002-04-30  4:39 ` David Starks-Browning
  0 siblings, 1 reply; 5+ messages in thread
From: John Vincent @ 2002-04-30  4:14 UTC (permalink / raw)
  To: cygwin

I've discovered that I cannot successfully telnet into my Win 2K box using 
the cygwin inetd, there is also a problem with the ftp service. I've 
installed inetd as per instructions, and installed it as a service.

When I use telnet to attempt to log in, everything goes OK until the point 
where a shell should be started, at that point I get a pop-up box appearing 
on my Win 2K screen with the title "bash.exe - Application Error" and the 
text "The application failed to initialize properly (0xc0000022). Click on 
OK to terminate the application." When I click on OK my telnet session ends 
with the message "Connection closed by foreign host."

When I use ftp to connect to the Win 2K box, the connection succeeds, and I 
can transfer files in both directions, but when I use the DIR command, I get 
a pop-up box appearing on the Win 2K screen exactly as for telnet described 
above, except that the first word of the title is "ls.exe" instead of 
"bash.exe".

If you have any information, or if you can confirm that this is a bug, 
please let me know. Thanks.


_________________________________________________________________
Join the worldÂ’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: problem with telnet and ftp server on win 2K
@ 2002-04-30  6:10 John Vincent
  0 siblings, 0 replies; 5+ messages in thread
From: John Vincent @ 2002-04-30  6:10 UTC (permalink / raw)
  To: starksb; +Cc: cygwin

Hi David,

Thanks for the info. I created a system-wide environment variable
using the control panel called "CYGWIN" with a value of "ntsec"
and rebooted, and now telnet and ftp are working fine!

Thanks for your help.
/John


>From: David Starks-Browning <starksb@ebi.ac.uk>
>To: "John Vincent" <jpv50@hotmail.com>
>CC: cygwin@cygwin.com
>Subject: problem with telnet and ftp server on win 2K
>Date: Tue, 30 Apr 2002 11:41:50 +0100
>
>On Tuesday 30 Apr 02, John Vincent writes:
> > I've discovered that I cannot successfully telnet into my Win 2K box 
>using
> > the cygwin inetd, there is also a problem with the ftp service. I've
> > installed inetd as per instructions, and installed it as a service.
> >
> > When I use telnet to attempt to log in, everything goes OK until the 
>point
> > where a shell should be started, at that point I get a pop-up box 
>appearing
> > on my Win 2K screen with the title "bash.exe - Application Error" and 
>the
> > text "The application failed to initialize properly (0xc0000022). Click 
>on
> > OK to terminate the application." When I click on OK my telnet session 
>ends
> > with the message "Connection closed by foreign host."
>
>This has been discussed on the mailing list before, search the
>archives.  I noticed it with cygwin-1.3.10 on NT4, and found that
>enabling ntsec solved the problem for me.  But there are lots of
>things to check, like the correctness of your /etc/passwd and
>/etc/group files, rights given to the inetd service account,
>execute permissions on the applications and cygwin1.dll, ...
>
>It's a mystery, to me, why it fails without ntsec but works with
>ntsec, all other things being the same.  But I've stopped worrying
>about it, now that I use ntsec.
>
>Good luck.  Report back if you have something new to add.
>
>Regards,
>David
>


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-03  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-30  4:14 problem with telnet and ftp server on win 2K John Vincent
2002-04-30  4:39 ` David Starks-Browning
2002-05-02 21:44   ` Dave Bodenstab
2002-05-02 22:54     ` Michael A Chase
2002-04-30  6:10 John Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).