X-Spam-Check-By: sourceware.org
Date: Thu, 24 Nov 2005 17:12:58 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: RES: Problem accessing samba shares via ssh in XP
Message-ID: <20051124161258.GJ2999@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <E1EeKLi-00060F-9o@marfim.cpad.pucrs.br> <E1EewYV-0000GR-Bt@marfim.cpad.pucrs.br> <43858135.4030400@alcatel.it> <20051124093018.GZ2999@calimero.vinschen.de> <dm47vl$16i$1@sea.gmane.org> <20051124154022.GG2999@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20051124154022.GG2999@calimero.vinschen.de>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Nov 24 16:40, Corinna Vinschen wrote:
> 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.

Again, just to be clear about this, this only works for password
authentication, not for pubkey ssh or .rhosts based authentication.


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/

