X-Spam-Check-By: sourceware.org Date: Thu, 24 Nov 2005 16:40:22 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: RES: Problem accessing samba shares via ssh in XP Message-ID: <20051124154022.GG2999@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <43858135 DOT 4030400 AT alcatel DOT it> <20051124093018 DOT GZ2999 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Nov 24 12:26, Danilo Turina wrote: > Corinna Vinschen wrote: > >On Nov 24 10:00, Danilo Turina wrote: > > > >>The "problem" is that logging with ssh with your username you are not > >>really logged as your user (that has the network drives mapped) but, > >>instead, as SYSTEM (that has no network drive map (also because it is > >>not a network user)). > >> > >>This also applies to telnet and to all the other mechanisms that, > >>through Cygwin, allow you to log to your machine. > > > > > >No, telnet shouldn't be affected. It all depends on using password > >authentication or not. See the FAQ > >http://cygwin.com/faq/faq-nochunks.html#faq.using.shares > > I don't know if I correctly understand what you say, but if I telnet to > my machine (either from the same machine or from another), I don't see > any network share mapping that I see from Windows and I'm unable to > create new ones by using "NET USE" if I do not provide my username and > password. Earlier versions of NT (4.0, W2K(?)) have kept the established connections across logins. At least since XP the connections are local to the logon session. This means, you don't have the shares available automatically, but you can reestablish them in your new login session without having to give your user name and password. A simple $ net use X: \\\\server\\share should suffice, and it does on my XP box. If you can't do that, I'm wondering if you're accidentally login to a local account on the box, instead of to a domain account. I can't tell, but there must be some external reason for this behaviour. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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/