delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/24/10:40:34

X-Spam-Check-By: sourceware.org
Date: Thu, 24 Nov 2005 16:40:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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: <E1EeKLi-00060F-9o AT marfim DOT cpad DOT pucrs DOT br> <E1EewYV-0000GR-Bt AT marfim DOT cpad DOT pucrs DOT br> <43858135 DOT 4030400 AT alcatel DOT it> <20051124093018 DOT GZ2999 AT calimero DOT vinschen DOT de> <dm47vl$16i$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <dm47vl$16i$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019