X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 16 Jan 2008 20:58:07 +0000 From: "Adam Thompson" To: cygwin AT cygwin DOT com Subject: Re: "net use" and sshd passwd vs. public-key In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 16/01/2008, Grant Edwards 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 ? -- AdamT "I've had death threats - well, OK, a petition." - Jack Dee -- 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/