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 Date: Tue, 7 Jun 2005 15:39:18 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com cc: Matthew Hall Subject: Re: SSHD + mounted drives not working/seen ? In-Reply-To: <6.2.1.2.0.20050607135305.07098ca0@pop.prospeed.net> Message-ID: References: <20050606155312 DOT M60368 AT angui DOT sh> <42A4DBBA DOT 2BFA7306 AT dessent DOT net> <20050606162652 DOT M60368 AT angui DOT sh> <42A4EB5D DOT CFC906DF AT dessent DOT net> <20050607093320 DOT A410 AT angui DOT sh> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050607131123 DOT 07120ee8 AT pop DOT prospeed DOT net> <20050607104308 DOT N410 AT angui DOT sh> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050607135305 DOT 07098ca0 AT pop DOT prospeed DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 7 Jun 2005, Larry Hall wrote: > At 01:50 PM 6/7/2005, you wrote: > > >> >Hummingbird9 + Win2K + NFS shares works beautifully, FYI. I don't > >> >have any of the problems mentioned in the cygwin FAQ re: accessing > >> >network shares from inside a ssh session. > >> > >> OK, so then what was the point of this thread again? I've read it through > >> again from the beginning and I still can't figure out what, if anything, > >> was the real problem that prompted you to post originally. > > > >I thought it might be something different cygwin was doing - plus > >the only difference was whether or not I was in a ssh session if > >I could view the shares or not. A handy link to the FAQ was provided, > >thus showing me the /expected/ behaviour - which wasn't the behaviour > >I was expecting. > > > >H9+Win2K+cygwin+sshd == visible network shares in a ssh session > >H9+WinXP+cygwin+sshd == no visible network shares in a ssh session > > > >I'll let this thread die, I just wish I had more clues as to why > >it's behaving different. > > Forgive me. I'm full of cough syrup and misread your last post. I > see that you were saying it works fine with W2K and not XP. For some > reason I read that as it works fine with XP now. My apologies. > > There's nothing inherently different going on for pubkey authentication > under XP vs W2K. Why the Hummingbird NFS shares show up at all in the > W2K case is indeed a mystery. For sshd run as a service via the SYSTEM > user, as far as Windows authentication is concerned, SYSTEM is the current > user for the ssh session. SYSTEM does not have access to restricted shares > so in general, you shouldn't be able to see them in the ssh session. If > you can see NFS shares but not Windows (SAMBA) restricted shares on Win2K, > then this sounds like a Hummingbird thing to me. In that case, as I > mentioned before, I'd recommend you talk to Hummingbird. If you can see > Windows shares there, that's a different story. If the problem is the > former, then too much discussion of it on this list is off-topic (though > we're certainly interested in hearing the results and/or solutions). The > talk list is a place where those interested could continue to discuss it, > though I expect discussion isn't what's needed. ;-) If the problem is > actually the latter, well then that's on-topic here since it involves > Cygwin and Windows, which everybody here has. The OP mentioned earlier in the thread that Hummingbird allows caching and using the username/password combinations for NFS mounts. This makes me think that even with public key authentication, the NFS driver should be able to construct a valid access token. I wonder if it could be some sort of a local policy issue? Matt, one thing to try is to eliminate sshd from the equation altogether: try opening a system-owned bash shell (Google for it for instructions), and see whether you can access the NFS drives from it. If it doesn't work, this is probably a Hummingbird NFS issue, and, as Larry said, off-topic for this list. If you can access shares from a system-owned shell, but not via sshd, some further Cygwin debugging may be needed. Igor P.S. Nice domain name. :-) -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/