X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Grant Edwards <grante@visi.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@ger.gmane.org> <dd3cefac0801161258x4f21daebw62c4740a213d9717@mail.gmail.com>
User-Agent: slrn/0.9.8.1 (Linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2008-01-16, Adam Thompson <adwulf@gmail.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/

