SharePoint 2007 User Re-created in AD with new SID issue on MySite
2013-12-10 16:26
459 查看
When active directory users get deleted and re-created, even with the same user id, there's a nasty side effect. Each time they try to access their "my site", they will receive the following error:
The file exists. (Exception from HRESULT: 0x80070050)
The reason is because when active directory accounts are deleted and re-created, the SID changes. Hence, the link between the user id and his "my site" is broken. There's an interesting solution from the Microsoft Forums that provides a good technical background on the problem. However, the suggested solution involves updating the SharePoint tables which is an unsupported activity. Here's how you can get around the issue without touching the database:
I just try to run stsadm -o migrateuser -oldlogin domain\account -newlogin doamin\account -ignoresidhistory.
I get this error:
Your changes could not be saved because this SharePoint Web site has exceeded the storage quota limit.
You must save your work to another location. Contact your administrator to change the quota limits for the Web site.
Then I modify the quota of this site collection in CA. It doesn't help. I still get this error.
At the last, I follow below step to refresh the user account with new sid in table UserInfo.
1. Access the user's my site settings page
The first step would be to access the user's my site page. You could simply append "_layouts/settings.aspx" to the URL of the site. However, here's a slightly easier way to get to the page.
a. Login to the SharePoint Central Administration site and access the Shared Services Provider page.
b. On the SSP admin page, select "User profiles and properties" "View User Profiles"
c. Search for the user whose account has been deleted. Click on the profile name and select "Manage Personal Site"
That will bring you to the user's personal site's settings page.
2. Delete the user from the site collection
a. Click "People and Groups"
b. In the "Groups" section, click on the "(sitename)_Owners" group
c. Check the user and select "Actions Remove Users from Group"
Repeat (a) - (c) for each group that the user is a member of within the site collection.
d. Next, click "Site Permissions" and select "Settings Site Collection Administrators"
e. Add the farm account as a site collection adminsitrator. Remove the user whose account has been deleted. Click OK.
f. Back at the "People and Groups" screen, click "People" and remove the user whose account has been deleted from the list.
Effectively, we have removed the user from the site collection entirely. This will flush the link between the user and his old SID.
3. Add the user to the site collection
Now, let's add the user back to the site collection
a. Click "Site Permissions"
b. Select "Settings Site Collection Administrators"
c. Add the user as a site collection adminsitrator. Remove the farm account that was added in the previous steps. Click OK.
And the user's access to his "my site" should be restored!
http://meiyinglim.blogspot.dk/2008/03/when-active-directory-users-get-deleted.html
The file exists. (Exception from HRESULT: 0x80070050)
The reason is because when active directory accounts are deleted and re-created, the SID changes. Hence, the link between the user id and his "my site" is broken. There's an interesting solution from the Microsoft Forums that provides a good technical background on the problem. However, the suggested solution involves updating the SharePoint tables which is an unsupported activity. Here's how you can get around the issue without touching the database:
I just try to run stsadm -o migrateuser -oldlogin domain\account -newlogin doamin\account -ignoresidhistory.
I get this error:
Your changes could not be saved because this SharePoint Web site has exceeded the storage quota limit.
You must save your work to another location. Contact your administrator to change the quota limits for the Web site.
Then I modify the quota of this site collection in CA. It doesn't help. I still get this error.
At the last, I follow below step to refresh the user account with new sid in table UserInfo.
1. Access the user's my site settings page
The first step would be to access the user's my site page. You could simply append "_layouts/settings.aspx" to the URL of the site. However, here's a slightly easier way to get to the page.
a. Login to the SharePoint Central Administration site and access the Shared Services Provider page.
b. On the SSP admin page, select "User profiles and properties" "View User Profiles"
c. Search for the user whose account has been deleted. Click on the profile name and select "Manage Personal Site"
That will bring you to the user's personal site's settings page.
2. Delete the user from the site collection
a. Click "People and Groups"
b. In the "Groups" section, click on the "(sitename)_Owners" group
c. Check the user and select "Actions Remove Users from Group"
Repeat (a) - (c) for each group that the user is a member of within the site collection.
d. Next, click "Site Permissions" and select "Settings Site Collection Administrators"
e. Add the farm account as a site collection adminsitrator. Remove the user whose account has been deleted. Click OK.
f. Back at the "People and Groups" screen, click "People" and remove the user whose account has been deleted from the list.
Effectively, we have removed the user from the site collection entirely. This will flush the link between the user and his old SID.
3. Add the user to the site collection
Now, let's add the user back to the site collection
a. Click "Site Permissions"
b. Select "Settings Site Collection Administrators"
c. Add the user as a site collection adminsitrator. Remove the farm account that was added in the previous steps. Click OK.
And the user's access to his "my site" should be restored!
http://meiyinglim.blogspot.dk/2008/03/when-active-directory-users-get-deleted.html
相关文章推荐
- SharePoint 2007 - /_layouts and how to create pages that run in site context
- The good site to buy rs 2007 gold cheap on RSorder with pay by Paypal or Alipay without anyconfirmat
- (Redirect)How to create my own Corporate intranet(Site Definition In MOSS 2007)?(http://hermansberghem.blogspot.com/2008/04/crea
- How to open a web site with the default web browser in a NEW window
- SharePoint 2007 系列(10) 创建Wiki网站 New SharePoint Site
- App Mynewsite could not be found. Is it in INSTALLED_APPS?
- 打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different on
- Choose a destination with a supported architecture in order to run on this device.
- Choose a destination with a supported architecture in order to run on this device
- Choose a destination with a supported architecture in order to run on this device.
- Fixing USB issue on virtualbox in Fedora
- adpatch failed with error: "Missing file format id in file"
- The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain(转)
- How can I remove all "name" files in all of my subdirectories on Linux
- Why is there extra padding at the top of my UITableView with style UITableViewStyleGrouped in iOS7
- -[WXOGCDAsyncSocket enableBackgroundingOnSocketWithCaveat:] in libWeChatSDK.a(GCDAsyncSocket.o)
- 打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different on
- Choose a destination with a supported architecture in order to run on this device.
- Play with RadScheduler1_TimeSlotCreated Event in Telerik Scheduler
- 一步一步SharePoint 2007之四:创建Site