delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/24/16:49:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4C743056.50300@cygwin.com>
Date: Tue, 24 Aug 2010 16:49:26 -0400
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Network drives & ssh access
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]>
In-Reply-To: <D655A54A1491442CF048CBC6@[192.168.1.2]>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 8/24/2010 4:35 PM, Quanah Gibson-Mount wrote:
> --On Tuesday, August 24, 2010 1:19 PM -0400 "Larry Hall (Cygwin)"
> <> wrote:
   ^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>  We don't encourage feeding
spammers.


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

Well, that's a completely different thing then.  You need Windows to
authenticate that share as the other user then.  I think you're stuck
with "net use" option of the FAQ.  You can either invoke it each time
you log in via ssh, put it in your favorite rc file, or have a separate
script to do it (which you'd invoke each time).

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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