This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "net use" and sshd passwd vs. public-key


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]