1. 程式人生 > >SharePoint 2007 User Re-created in AD with new SID issue on MySite

SharePoint 2007 User Re-created in AD with new SID issue on MySite

  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

相關推薦

SharePoint 2007 User Re-created in AD with new SID issue on MySite

  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 s

音訊播放時出現 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

<audio id="play" controls="controls" loop="loop"> <source src="horse.mp3" type="audio/mpeg"> </audio>瀏覽器出現:Uncaught (in promise) DOM

Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.

rom 方案 with lag 開會 請求 頁面 搜索 red 最近在開發一個網站時,有個需要是 如果有新預警信息要在網頁中播放提示音。頁面打開會請求是否有新信息,有則播放提示音。在Chrome的最新瀏覽器中,播放會報錯,控制臺顯示Uncaught (in promise)

AR-SSVEP for Brain-Machine Interface:Estimating User’s Gaze in Head-mounted Display with USB camera

AR-SSVEP for Brain-Machine Interface:Estimating User’s Gaze in Head-mounted Display with USB camera 用於腦機介面的AR-SSVEP:使用USB攝像頭評估使用者對頭戴式顯示器的注意力

Handling & Validating User Input (& More) with sauciness in Android with Java

Things you’ll needDesign Support Library (TextInputLayout & TextInputEditText)ValidComponent Annotation (We’ll create it)Component Validator & Othe

SharePoint 2007 Full Text Searching PowerShell and CS file content with SharePoint Search

  1. Ensure your site or shared folder in one Content Source.   2. Add file types.         3. The second step in getting the file extensions recognised

An introduction to parsing text in Haskell with Parsec

util eof try xib reporting where its ner short Parsec makes parsing text very easy in Haskell. I write this as much for myself as for any

Could not resolve view with name '***' in servlet with name 'dispatcher'

urn 異常 避免 href 出現 view hist 異步 rop 今天在開發中遇到了一個問題,控制層使用的是SpringMVC框架。 @RequestMapping("historyDetail") private String History(Mod

[Angular] Handle HTTP Errors in Angular with HttpErrorResponse interface

int network perror ssa with proc () esp use When communicating with some backend API, data travels over the network using the HTTP protoc

install tensorflow in windows with python3

style chan windows sin window python2 test div post python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/te

springmvc搭建環境時報No mapping found for HTTP request with URI [/exam3/welcome] in DispatcherServlet with name 'spring2'

url att comm con icon ffi handler b- ati 項目是使用spring MVC (1)在瀏覽器中訪問,後臺總報錯: Java代碼 No mapping found for HTTP request with URI [/exam

Spring Boot, Java Config - No mapping found for HTTP request with URI [/…] in DispatcherServlet with name 'dispatcherServlet'

dispatch name req let servlet patch request found pack Spring Boot 啟用應用: error: No mapping found for HTTP request with URI [/…]

[Maid] Write Tasks in Markdown with Maid

should desc sin .html `` locks you 9.png alt Maid enables you to write your tasks in Markdown. Create a maidfile.md or a README.mdthen ad

UP400 Programmer User Manual: Read/Write Data with OtoSys IM600

AURO IM600 auro im600 key programmer AURO OtoSys IM600 UP400 Programmer UP400 Programmer User Manual for newbies: What is UP400 Program

除錯經驗——如何檢視Oracle自定義函式 (How to view definition of user defined functions in Oracle)

問題描述: 現有的Query中似乎使用了一個自定義函式String_to_list,為了排查問題,需要檢視這個函式的定義。 方法:   --新建的function,並未儲存在All_ojbects表中,而是儲存在user_objects表中 SELECT * FRO

ios之error: The sandbox is not in sync with the Podfile.lock.

當我們編譯ios工程時,有時會遇到這個報錯。此時,關閉當前的工作空間,刪除以前的.xcworkspace檔案,然後執行pod install命令,install之後,重新開啟專案,clean並build專案,問題解決。 如果遇到pod install命令執行失敗,可以參考連線https://

springmvc報404錯誤No mapping found for HTTP request with URI [/mavenSpringmvc/requesttest] in DispatcherServlet with name 'spring'

for 404錯誤 com web and uri pat con 題解 問題404錯誤的原因有很多種 有這種,後邊不帶url的 這種一般就是沒有進入到controller中 可以在toncat中看到信息 十一月 12, 2018 12:21:25 下午 org.

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.Nu

java.lang.NullPointerException: null    at com.book.app.web.UserController.findPageWith(UserController.java:50) ~[classes/:na]   &

No mapping found for HTTP request with URI [....] in DispatcherServlet with name 'springMVC'

這個錯誤,為在頁面報404錯誤。 web.xml 配置如下: <servlet> <servlet-name>springMVC</servlet-name> <servlet-class>org.springframe

No mapping found for HTTP request with URI [xxxx] in DispatcherServlet with name ‘xxx’

搭建SSM環境時測試springMVC時出現個很有趣的問題:  測試webapp下的index.jsp沒問題,但是測試hello就出現問題。 當訪問hello時出現如下問題: 解決方案:          之前掃