X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Grant Edwards Subject: Re: "net use" and sshd passwd vs. public-key Date: Wed, 16 Jan 2008 23:07:17 +0000 (UTC) Lines: 23 Message-ID: References: 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: 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 2008-01-16, Adam Thompson 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/