Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Problems with net use statement via sshd on cygwin Date: Tue, 8 Apr 2003 11:29:24 +0200 Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: 40tude_Dialog/2.0.3.1 * Richard Sharpe (03-04-08 03:14 +0100) > I installed cygwin on a Win2K machine and then configured sshd (after > including it in the install) ... > > However, if I do: > > ssh administrator AT calpc12 net use f: \\\\\\\\10.0.1.5\\\\test \ > /user:tigerteam\\\\rsharpe > > (Yes, I know there are ways around all those backslashes), it appears to > succeed, but the share is listed as unavailable in Windows, and I cannot > access it via 'dir f:' for example. > > The drive letter f: did not have any thing mapped to it before the ssh > command above. > > Has anyone seen this? Is there any explanation? Is "SMBNTSEC" set? Try logging in and then executing manually "net use". Have a look at the "Event Viewer" and "/var/log/sshd.log". I have been able to even access a NetWare volume through "net use". The only "annoyance" I encountered was, that drive mappings made under a different account (under the windows GUI) were shown, too. I think other people mentioned this. Thorsten -- Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory) Content-Transfer-Warning: message contains innuendos not suited for children under the age of 18 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/