How to switch different credential when accessing a shared folder

G

Guest

(Not a basic problem. I have searched this in my native language, but with no
answer yet)

Sympotom:
- I was not prompted for uid/pwd anymore, when accessing a shared folder
that I have been successfully authenticated before.
XP seems to have memorized my previous uid/pwd, and directly openned the
folder.

Steps:
----------------------------------------------------------------------
(Client:WinXP SP2; Server(suppose to be \\IP)Win2003 Server)
0. Preparation: for convenience, I built a link for "\\IP" on my desktop.
1. Click the desktop link, I was normally prompted for uid/pwd (since there's
no account with same uid & same pwd at the server)
2. I then use credential_A, e.g. test1, accessed the shared folder, e.g.
\\IP\MyShared,
and then closed the Explorer.
3. After a period of time (even several hour passed..), when I click the
desktop link again, system no longer prompt me for uid/pwd, insteadly just
openned the folder using the credential of test1.
4. Unless restart the client, though I have tried a lot of methods, I cannot
see the uid/pwd confirmation dialog again.
----------------------------------------------------------------------

The methods I've tried & factors considered (some of them might be
irrelative):
----------------------------------------------------------------------
- net use /persistent:no
- net use \\IP\IPC$ /d
net use \\IP\MyShared /d
- (Server Side)net config server /autodisconnet:1
- net use \\IP\MyShared * /User:test2 (<-Another uid; I got errorMsg such as
"link has already been established by other credentials" )
- (Server Side)Check the sharing session——Nothing;
Whereas when system directly openned the shared folder "for me",
there will be a session shown with "test1"..
- Finally, of course, I have not checked on "remember my password"..
 
R

Richard G. Harper

You can only use one name and password to connect to a remote system or
shared resource. That is, if you have one connection to a share/printer on
Server1 using the name "tchu" and your password, you can't make a second
connection to Server1 using any other name except "tchu". You would have to
disconnect the current share/printer before using another name to connect to
it.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
G

Guest

Richard,

thanks' but your answer is just what I meant when writing:
The methods I've tried & factors considered
----------------------------------------------------------------------
...
- net use \\IP\MyShared * /User:test2 (<-Another uid; I got errorMsg such as
"link has already been established by other credentials" )
...

Sorry for the lack of explanation, my problem is that even when
the first credential, say "test1", was manually disconnected by using "net
use /d",
it seems that XP still memorized the uid/pwd pair of the credential --
it no longer ask me for new uid/pwd, directly openned the shared folder,
and Server side appears the session marked with "test1"..

Next, Fortunately, the solution I have tried out~:
----------------------------------------------------------------------
(besides the steps I've done in the previous mail, maybe some toke effect
after a restart)
- Explicitly run:
net use \\IP\IPC$ /d
net use \\IP\MyShared /d
even if you see the shared folder was directly openned when you try to
connect.
- net use \\IP\MyShared * /User:test2
input Correct pwd (and the pwd should have not expired)
- Now, you may access to the shared folder, though it's openned by using the
older credential. Check server side, you will find the session marked with
"test1"
has been switched to "test2" already!
----------------------------------------------------------------------
Sometimes, the above steps cannot work as well -- then please restart, to
save time~~

Thanks Richard, & HTH'

tchu

Richard G. Harper said:
You can only use one name and password to connect to a remote system or
shared resource. That is, if you have one connection to a share/printer on
Server1 using the name "tchu" and your password, you can't make a second
connection to Server1 using any other name except "tchu". You would have to
disconnect the current share/printer before using another name to connect to
it.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm


tchu said:
(Not a basic problem. I have searched this in my native language, but with
no
answer yet)

Sympotom:
- I was not prompted for uid/pwd anymore, when accessing a shared folder
that I have been successfully authenticated before.
XP seems to have memorized my previous uid/pwd, and directly openned the
folder.

Steps:
----------------------------------------------------------------------
(Client:WinXP SP2; Server(suppose to be \\IP)Win2003 Server)
0. Preparation: for convenience, I built a link for "\\IP" on my
desktop.
1. Click the desktop link, I was normally prompted for uid/pwd (since
there's
no account with same uid & same pwd at the server)
2. I then use credential_A, e.g. test1, accessed the shared folder, e.g.
\\IP\MyShared,
and then closed the Explorer.
3. After a period of time (even several hour passed..), when I click the
desktop link again, system no longer prompt me for uid/pwd, insteadly just
openned the folder using the credential of test1.
4. Unless restart the client, though I have tried a lot of methods, I
cannot
see the uid/pwd confirmation dialog again.
----------------------------------------------------------------------

The methods I've tried & factors considered (some of them might be
irrelative):
----------------------------------------------------------------------
- net use /persistent:no
- net use \\IP\IPC$ /d
net use \\IP\MyShared /d
- (Server Side)net config server /autodisconnet:1
- net use \\IP\MyShared * /User:test2 (<-Another uid; I got errorMsg such
as
"link has already been established by other credentials" )
- (Server Side)Check the sharing sessionâ€â€Ã¢â‚¬â€Nothing;
Whereas when system directly openned the shared folder "for me",
there will be a session shown with "test1"..
- Finally, of course, I have not checked on "remember my password"..
----------------------------------------------------------------------

Anyone please post some other hints?

tchu
 
G

Guest

Found another solution :)
- The setting dialog is hidden deeply in the XP --
"User Names and Passwords Saved" (maybe not spelled so in English XP)
to access this dialog, Start > Control Pannel > User Accounts,
Select a administrator account, then in the list left side, Click
"Network Password Management"

All credentials memorized for network connection are hidden there'
HTH.


Richard G. Harper said:
You can only use one name and password to connect to a remote system or
shared resource. That is, if you have one connection to a share/printer on
Server1 using the name "tchu" and your password, you can't make a second
connection to Server1 using any other name except "tchu". You would have to
disconnect the current share/printer before using another name to connect to
it.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm


tchu said:
(Not a basic problem. I have searched this in my native language, but with
no
answer yet)

Sympotom:
- I was not prompted for uid/pwd anymore, when accessing a shared folder
that I have been successfully authenticated before.
XP seems to have memorized my previous uid/pwd, and directly openned the
folder.

Steps:
----------------------------------------------------------------------
(Client:WinXP SP2; Server(suppose to be \\IP)Win2003 Server)
0. Preparation: for convenience, I built a link for "\\IP" on my
desktop.
1. Click the desktop link, I was normally prompted for uid/pwd (since
there's
no account with same uid & same pwd at the server)
2. I then use credential_A, e.g. test1, accessed the shared folder, e.g.
\\IP\MyShared,
and then closed the Explorer.
3. After a period of time (even several hour passed..), when I click the
desktop link again, system no longer prompt me for uid/pwd, insteadly just
openned the folder using the credential of test1.
4. Unless restart the client, though I have tried a lot of methods, I
cannot
see the uid/pwd confirmation dialog again.
----------------------------------------------------------------------

The methods I've tried & factors considered (some of them might be
irrelative):
----------------------------------------------------------------------
- net use /persistent:no
- net use \\IP\IPC$ /d
net use \\IP\MyShared /d
- (Server Side)net config server /autodisconnet:1
- net use \\IP\MyShared * /User:test2 (<-Another uid; I got errorMsg such
as
"link has already been established by other credentials" )
- (Server Side)Check the sharing sessionâ€â€Ã¢â‚¬â€Nothing;
Whereas when system directly openned the shared folder "for me",
there will be a session shown with "test1"..
- Finally, of course, I have not checked on "remember my password"..
----------------------------------------------------------------------

Anyone please post some other hints?

tchu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top