delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/16/18:08:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Grant Edwards <grante AT visi DOT com>
Subject: Re: "net use" and sshd passwd vs. public-key
Date: Wed, 16 Jan 2008 23:07:17 +0000 (UTC)
Lines: 23
Message-ID: <fmm2n5$s0v$1@ger.gmane.org>
References: <fmlff1$brk$1 AT ger DOT gmane DOT org> <dd3cefac0801161258x4f21daebw62c4740a213d9717 AT mail DOT gmail DOT com>
User-Agent: slrn/0.9.8.1 (Linux)
X-IsSubscribed: yes
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 2008-01-16, Adam Thompson <adwulf AT gmail DOT com> wrote:

>> I'm running Cygwin sshd on a WinXP-Pro machine.  When I ssh-in
>> using a password, I can map drives with "net use".  When I set
>> up an authorized_keys file so I don't have to enter a password,
>> "net use" stops working: I get a system error 5 "access
>> denied", and it appears to be generated by the machine where
>> the "net use" is being run, not by the SMB server (it never
>> sees a request).
>>
>> From searching the group, I see this is a known issue and is
>> caused by the lack of a "logon session" (whatever that is) in
>> the case of public-key authentication.
>>
> Can you perform a net view \\targetserver ?

Yes, that works fine.  I see the list of exported directories
and printers.

-- 
Grant Edwards                   grante             Yow! A can of ASPARAGUS,
                                  at               73 pigeons, some LIVE ammo,
                               visi.com            and a FROZEN DAQUIRI!!


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

- Raw text -


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