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 To: cygwin AT cygwin DOT com Subject: Re: Network drives & ssh access Message-ID: In-Reply-To: References: <13D45C6CDAB7C51EF7CDC050@[192.168.1.2]> <4C732336 DOT 6020806 AT cygwin DOT com> <1C018B15ED56529CD242DC44@[192.168.1.2]> <4C73FF2D DOT 2030903 AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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: >> >> > > 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