delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/03/15:29:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Fri, 03 Sep 2010 12:28:46 -0700
From: Quanah Gibson-Mount <quanah AT zimbra DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Network drives & ssh access
Message-ID: <B3C257C4B47939D918F52E72@[192.168.1.2]>
In-Reply-To: <D655A54A1491442CF048CBC6@[192.168.1.2]>
References: <13D45C6CDAB7C51EF7CDC050@[192.168.1.2]> <4C732336 DOT 6020806 AT cygwin DOT com> <1C018B15ED56529CD242DC44@[192.168.1.2]> <DD4E52CFB8D58B3E571E516B@[192.168.1.2]> <4C73FF2D DOT 2030903 AT cygwin DOT com> <D655A54A1491442CF048CBC6@[192.168.1.2]>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 Tuesday, August 24, 2010 1:35 PM -0700 Quanah Gibson-Mount <> wrote:

> --On Tuesday, August 24, 2010 1:19 PM -0400 "Larry Hall (Cygwin)"
> <> wrote:
>
>> A missing password is likely your problem, since that's at the heart of
>> your original problem really.  But I actually wasn't thinking of this
>> option
>> as the solution to your problem when I pointed you at the FAQ.  Running
>> a service as the user you'll log in as is really just a workaround.
>> I was thinking more of:
>>
>> <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3>
>
> Using the passwd -R bit did not change the behavior.  I still am unable
> to access the network share when logging in via SSH, but it works just
> fine when starting cygwin locally.
>
> I will note that the network share (CIFS) uses a different
> username/password than my local user/password on the windows box (That,
> unfortunately, is not under my control).
>
> However, I set up the share using net use \\IP\share /savecreds, and that
> does mount the drive to Windows at least every time without prompting,
> and Cygwin locally is able to use it.  It is only an issue with the SSH
> connection.

The CIFS mount now uses the same username/password as the windows user.  I 
have used passwd -R to store the user's password in the registry.  The 
drive again shows up when launching cygwin manually, and it still fails to 
show up when I use ssh to connect.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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