|
Posted by Roger Abell [MVP] on February 16, 2006, 7:50 pm
Please log in for more thread options
> Thank you for your answer.
> You are right my asking systwm was Windows XP and excatly as you said in
> its credential cache there was the user/password which was used. When I
> deleted the credentials form cache the system began to ask them
> explicitly.
> The fact of matter was that that user account which I think the system
> used was same on my asking computer and on asked computer. So I thought
> that the system used the account from asking computer but really system
> just used cached account of this asked computer which happened to be
> equal. It created confusion for me.
>
Yes, that was (and can be) confusing
> But now I found another problem. If I successfully got connected to remote
> computer through net by Explorer then Explorer kinds of remember the
> successful credentials all times so that if I closes Explorer but later I
> start Explorer try to open connection to same computer it uses same user
> credentials again. Credential storage is empty since I didn't ask Windows
> to save it during first user/password authentication.
> I could break it by Windows restart. How to break it without restart? How
> to force Explorer to ask credential again on each connection?
When you connect over the network a connection object is formed.
This remains (for efficiencies) between uses of sessions over that
connection. There can be only one connection between two machines,
so only one set of credentials in use. When you reopen Explorer and
navigate to the folder you are firing up a new session on the connection.
Use net use to see connections that exist
Use net use <device> /delete to end a connection
> P>S. After first connection and then closing Explorer I see in "net use"
> the connection to asked computer but with status: "disconnected". Maybe
> Exploler just reuse this connection later?
>
yes, it does. connection formation is relatively high overhead so they
do not get flushed right away
>
>> Are you sure you are not reusing a preexisting connection to the server
>> that has the share ?? Does this happen on that machine after a fresh
>> logoff/login ? If so, run a cmd window and enter net use
>> Are there any persistent connections showing ?
>> If the machine from which you are doing this is XP, has there been any
>> credential caching for the account you are using ? This is in the Users
>> control panel applet for the account in use while in use (network
>> credentials).
>>
>>>I noticed strange sitiation.
>>> When I try to connect with Windows Explorer to share folder on another
>>> computer in net. I know that my account doesn't have the permissions so
>>> the connection must to fail but instead I got the connection established
>>> nevertheless although shouldn't be.
>>> Now I go to see on sharing computer its share sessions and what I see:
>>> the session with the name of user which is not mine(!) but of another
>>> user on my computer.
>>> Then I check into the security audit and found that there are the failed
>>> attempts of network logon with my user name. It is right since I don't
>>> have the permissions.
>>> But then next it goes the succesfull logon(!) with different name of
>>> local user from my computer.
>>> It seems like if Windows Explorer browse user accounts onebyone and try
>>> to fit them to connection until success.
>>> Why it does that? I think it is wrong. Rather it should to show me the
>>> failure to connect them ask me about new user name. Where I can read
>>> about it more?
>>> Thanks.
>>>
>>
>>
>
>
|