Pages

Search This Blog

Sunday, January 5, 2014

All users are logged in as System Account

There is a very strange problem we were facing in which any contributor or user when logged in into SharePoint 2010 site then it started showing him / her as sharepoint\system account. This is very strange and we checked all the possible scenarios to confirm that nothing applies in my case :-

Checked the user policy in central admin and there was nothing that was causing this issue

Another possibility was to check if the farm admin account is operating as system account but that was also not the case.

Now another question came in my mind if this setting is not enabled then why does SharePoint showing system account at all. Strange but true. May be this setting is not at all applied on the farm account any by default it consider it as system account.

Then we checked the farm account is not set to the contributors ad account but it was correct and set to the farm admin account only

Then we checked if there is any problem with IIS pool Account and it was correctly set except that if was running as a specific user which is my farm admin account. Now I got the issue, this is the reason why all my users were being impersonated as system account. I changed it to Application user (pass-through authentication) and it solved the mystery.

All my users are happy now as they can see their names as logged in user and and that makes me feel happy as well. It also solved lot of issues related to the authentication and access denied errors as and when user tries to perform any activity on which it doesn't has access by SharePoint.

1 comment:

Thanks sir, i was looking for the solution to this problem from a long time... hope this will solve the issue... was also facing an issue i don't know if it is related to this or not... i have created a user profile in SharePoint 2010 central admin and when trying to access the pages with that account many time i am unable to login, and if somehow it logins, i can access only those pages that were created before the profile was created and all other pages which were created after the profile was created gives authentication error... even when the pages are in the same site collection... please let me know if you are having any idea why this is happening.. i had searched a lot but found nothing ::(