Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SharePoint caches incorrect credentials

Every morning when i fire up my VM and IE (in my host OS) and go to my SP site it always logs me on automatically as DOMAIN\george which is a user I created for testing permissions.

So every morning after that I click "sign in as a different user" to sign in as my sys admin user instead and most days that is the only user I use. Any idea why george's credentials are being cached?

Part of "firing up my VM" is running a script that starts IIS as well as some services. I'm not entirely sure SharePoint is responsible for this, could very well be ASP.Net.

EDIT: I've already tried clearing my cookies.

like image 596
Chloraphil Avatar asked Jul 08 '09 14:07

Chloraphil


People also ask

Why does SharePoint keep asking for my credentials?

Try these solutions: Make sure Integrated windows authentication is enabled in IE. (Tools >> Internet Options >> Advanced >> under security, enable integrated authentication) Go to Control Panel >> User Accounts >> Manage Your Credential and remove any credentials stored.

How do I disable credential caching?

To disable credential caching by using a GPO setting, enable the “Interactive logon: number of previous logons to cache (in case domain controller is not available)” setting. This setting is located in the Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options GPO container.


3 Answers

Had a very similar problem! To solve it, go to 'User Accounts' under the Windows Control panel.

Navigate to 'Manage your network passwords'. Select the domain you wish to clear and select 'Remove'.

You should now have a clean login dialogue box and when you check the 'remember me' box, this will be stored as the login default for that domain.

like image 126
Gavin Busuttil-Reynaud Avatar answered Oct 22 '22 21:10

Gavin Busuttil-Reynaud


I was able to remove the test login credentials using the User Account control panel applet in Windows 7

  • Open the Manage Credentials link.
  • Find the Sharepoint Login in the Windows Vault.
  • Expand the address for the site
  • Remove the test login for this site.

After doing this I am no longer prompted for the login and login as different user prompt.

like image 39
Greg Salts Avatar answered Oct 22 '22 19:10

Greg Salts


Have you checked that there are no logins and passwords being stored by the browser? Assuming you are using IE, see this article on how to clear them.

like image 34
Alex Angas Avatar answered Oct 22 '22 20:10

Alex Angas