From: John Wunderlich on
ToddAndMargo <ToddAndMargo(a)invalid.com> wrote in news:
#iwUxSy4KHA.5548(a)TK2MSFTNGP04.phx.gbl:

> Once "Net Use" has a user name, it sticks with it. I do not
> get to mix and match. I also wanted to surf the various shares
> with the UNC and be able to pick which user name I browser which
> shares with. This is really easy to do with Linux. I was
> hoping XP had an equivalent.
>

It's not just "net use". Windows *by design* will only allow one
authentication per connected server. If you connect to a share using
one authentication -- no matter how you do it -- you cannot connect
to a different share on that same server using a different
authentication until/unless you disconnect the first connection. You
will either have to do a "net use [...] /delete", right-click on "My
Network Places" and choose "Disconnect Network Drive" (even if not
mapped), or wait until the non-mapped idle connection times out (~15
min).

Quoting from "INFO: WNetAddConnection2 and Multiple User Credentials"
<http://support.microsoft.com/kb/183366/>

<quote>
"In Windows NT, on the other hand, you can use the API with multiple
sets of user credentials. However, one major limitation applies,
namely, that connections to a given server or its shared resources
have to be made within the context of a single set of credentials. "
</quote>

Score 1 for Linux.

HTH,
John
From: ToddAndMargo on
On 04/23/2010 09:07 PM, John Wunderlich wrote:
> ToddAndMargo<ToddAndMargo(a)invalid.com> wrote in news:
> #iwUxSy4KHA.5548(a)TK2MSFTNGP04.phx.gbl:
>
>> Once "Net Use" has a user name, it sticks with it. I do not
>> get to mix and match. I also wanted to surf the various shares
>> with the UNC and be able to pick which user name I browser which
>> shares with. This is really easy to do with Linux. I was
>> hoping XP had an equivalent.
>>
>
> It's not just "net use". Windows *by design* will only allow one
> authentication per connected server. If you connect to a share using
> one authentication -- no matter how you do it -- you cannot connect
> to a different share on that same server using a different
> authentication until/unless you disconnect the first connection. You
> will either have to do a "net use [...] /delete", right-click on "My
> Network Places" and choose "Disconnect Network Drive" (even if not
> mapped), or wait until the non-mapped idle connection times out (~15
> min).
>
> Quoting from "INFO: WNetAddConnection2 and Multiple User Credentials"
> <http://support.microsoft.com/kb/183366/>
>
> <quote>
> "In Windows NT, on the other hand, you can use the API with multiple
> sets of user credentials. However, one major limitation applies,
> namely, that connections to a given server or its shared resources
> have to be made within the context of a single set of credentials. "
> </quote>
>
> Score 1 for Linux.
>
> HTH,
> John


Hi John,

Thank you for the scholarly explanation. You are an excellent
technical writer. I was hoping I was just ignorant and could
actually do what I wanted.

Since I live in both the Linux and Windows world (sometimes
Apple too), I am always finding things in one I would like to
see in the other. And, sometimes, I think my head is
going to explode. :'(

-T
First  |  Prev  | 
Pages: 1 2
Prev: shortcut icon/file
Next: Fix for .exe & .lnk failure