delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 17 Jan 2008 21:14:58 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: "net use" (and "net config") |
Message-ID: | <20080117201458.GW5097@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <fmlff1$brk$1 AT ger DOT gmane DOT org> <fmlhi3$mad$1 AT ger DOT gmane DOT org> <478E9184 DOT 2060909 AT free DOT fr> <fmmnla$fg6$1 AT ger DOT gmane DOT org> <478EE840 DOT 2090603 AT cygwin DOT com> <fmobhn$vp3$4 AT ger DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <fmobhn$vp3$4@ger.gmane.org> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 Jan 17 19:50, Grant Edwards wrote: > On 2008-01-17, Larry Hall (Cygwin) <reply-to-list-only-lh AT cygwin DOT 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 The drawback is that the share isn't persistent. You have to do the above every time you log in using pubkey. > So why can't one map drives in SYSTEM's "userland"? > > > I suppose you could try opening a system-owned shell and "net > > use"ing the share you want. Google for the recipe to create a > > system-owned shell. > > Why the difference in userland depending on which > authentication method is used? You don't have the full set of user credentials as you would have if you used password authentication. The user token is missing the credentials to connect to remote shares automatically. That's not really a surprise, but it's a surprise that there's no really easy, intuitive workaround. > That seems really counter-intuitive. It is. But it's nothing we can do about, really. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |