X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 24 Aug 2010 13:35:35 -0700
From: Quanah Gibson-Mount <quanah@zimbra.com>
To: cygwin@cygwin.com
Subject: Re: Network drives & ssh access
Message-ID: <D655A54A1491442CF048CBC6@[192.168.1.2]>
In-Reply-To: <4C73FF2D.2030903@cygwin.com>
References: <13D45C6CDAB7C51EF7CDC050@[192.168.1.2]> <4C732336.6020806@cygwin.com> <1C018B15ED56529CD242DC44@[192.168.1.2]> <DD4E52CFB8D58B3E571E516B@[192.168.1.2]> <4C73FF2D.2030903@cygwin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
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 Tuesday, August 24, 2010 1:19 PM -0400 "Larry Hall (Cygwin)" 
<reply-to-list-only-lh@cygwin.com> 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.

--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

