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 "net config")
Date: Thu, 17 Jan 2008 20:35:56 +0000 (UTC)
Lines: 36
Message-ID: <fmoe7c$br6$3@ger.gmane.org>
References:  <fmlff1$brk$1@ger.gmane.org> <fmlhi3$mad$1@ger.gmane.org> <478E9184.2060909@free.fr> <fmmnla$fg6$1@ger.gmane.org> <478EE840.2090603@cygwin.com> <fmobhn$vp3$4@ger.gmane.org> <20080117201458.GW5097@calimero.vinschen.de>
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-17, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> On Jan 17 19:50, Grant Edwards wrote:
>> On 2008-01-17, Larry Hall (Cygwin) <reply-to-list-only-lh@cygwin.com> wrote:
>> 
>> >>> It means that you can have the same (network) drive letter
>> >>> assigned multiple times, one in each userland.
>> >> 
>> >> And when logged in using public key authentication, you don't
>> >> have a "userland"?
>> >
>> > Well you do but it's SYSTEM's "userland".
>
> You can by authenticating explicitely for every single share.
> When you log in with pubkey authentication, you can attach to the
> share like this:
>
>   bash$ net use \\\\server\\share /user:domain\\username password

I already tried that and it doesn't work.  I get 

  System error 5 has occurred.

  Access is denied.

I checked the server logs and it's not seeing a request, the
access denied is happening locally on the SMB clinet end.

> The drawback is that the share isn't persistent.  You have to do
> the above every time you log in using pubkey.

That would be fine, but it doesn't work.

-- 
Grant Edwards                   grante             Yow! Can you MAIL a BEAN
                                  at               CAKE?
                               visi.com            


--
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/

