This is the mail archive of the
mailing list for the Cygwin project.
Re: Problems on accessing Windows network resources.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- Cc: cygwin at cygwin dot com
- Date: Sun, 8 Jun 2003 15:09:12 -0400 (EDT)
- Subject: Re: Problems on accessing Windows network resources.
- Reply-to: cygwin at cygwin dot com
On Mon, 9 Jun 2003, Takashi Yano wrote:
> Hello, cygwin users.
> Under Windows 2000/XP, some problems exist when accessing Windows
> network resources which are shared using NetBIOS over TCP/IP.
> When logging on with telnet, access to //computer1/shared1/ fails.
> For example, "ls //computer1/shared1/" returns error "ls:
> //computer1/shared1/: No such file or directory".
> Of course, the resource "//computer1/shared1/" can be accessed from
> local cygwin shell.
> This occurs with login.exe version 1.8-1, not with version 1.7-1 or
> Similarly, when logging on without password using rlogin or rsh, same
> problem occurs even with login.exe version 1.7-1.
> In ftp login, although the 1st access is OK, the subsequent accesses go
> Attached is a result of "cygcheck -s -v -r".
> Does anyone have resolved this problem?
> Thank you.
> Takashi Yano.
If you log in without a password: according to the second paragraph of
cannot access network shares that require authentication from a
passwordless login session. There is no way to resolve this. However,
you should be able to authenticate using the "net use" command with a
The only change between login-1.7-1 and login-1.8-1 was that it switches
the effective UID (user context) back to the privileged (system) account
to access utmp (and then restores to the user's UID). It may be that this
happens too early, or that switching the UID back and forth affects the
process's ability to access network shares. A small testcase (the exact
instructions on how to reproduce this) would be helpful. Corinna or
Pierre might give more insight here.
I'm not sure what the ftp problem is. More detail might help.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html