Answered by:
How to Return PeoplePicker to Original Functionality - search AD?

Question
-
In the peoplepicker dialog boxes we were getting accounts from trusted domains (this is the default behavior) so we used stsadm to set the Peoplepicker-onlysearchwithinsitecollection propert to "YES" which limits the search to the users listed in that site collection. This was initially undesirable because there were users with accounts in multiple domains which resulted in multiple results for those particular users.
We now want to revert back to that deafult functionality of searching AD. However, after removing the property value from Peoplepicker-onlysearchwithinsitecollection, the search still only returns users that are listed in the site collection. I have verified by using stsadm -o getproperty that the Peoplepicker-onlysearchwithinsitecollection does not exist any longer.
I have reset IIS, restarted the Moss WFE (houses search and index), re-crawled content sources, re imported user profiles, none of which reverted the people picker back to searching AD for users.
Anyone have any ideas?Monday, October 13, 2008 10:09 PM
Answers
-
Try to use this command:
stsadm -o setproperty -url http://<server:port> -pn peoplepicker-searchadforests -pv "forest:forest1.net;forest:forest2.net,<domain\user>,<password>;domain:domain.forest1.net,<domain\user>,<password>
This is for multiple forest but you can use it also for only one forest or domain.
You have to do this for each web Application.
Reference: http://nuke.sharepointinside.it/Blog/tabid/57/EntryID/6/language/it-IT/Default.aspx
Reference: http://technet.microsoft.com/en-us/library/cc263460.aspx
Regards,
Francesco
www.sharepointinside.it- Proposed as answer by Francesco Sodano Tuesday, October 14, 2008 3:07 PM
- Marked as answer by Xing-Bing Yu - MSFT Wednesday, October 15, 2008 8:37 AM
Tuesday, October 14, 2008 12:12 AM -
I found that I had an issue with removing the peoplepicker-onlysearchwithinsitecollection property value - once I correctly set that back to NO, the People Picker went back to searching AD.
I did set the peoplepicker-searchadforests to our domain and all is well.
So thanks Francesco for responding.- Marked as answer by Xing-Bing Yu - MSFT Wednesday, October 15, 2008 8:37 AM
Tuesday, October 14, 2008 2:05 PM
All replies
-
Try to use this command:
stsadm -o setproperty -url http://<server:port> -pn peoplepicker-searchadforests -pv "forest:forest1.net;forest:forest2.net,<domain\user>,<password>;domain:domain.forest1.net,<domain\user>,<password>
This is for multiple forest but you can use it also for only one forest or domain.
You have to do this for each web Application.
Reference: http://nuke.sharepointinside.it/Blog/tabid/57/EntryID/6/language/it-IT/Default.aspx
Reference: http://technet.microsoft.com/en-us/library/cc263460.aspx
Regards,
Francesco
www.sharepointinside.it- Proposed as answer by Francesco Sodano Tuesday, October 14, 2008 3:07 PM
- Marked as answer by Xing-Bing Yu - MSFT Wednesday, October 15, 2008 8:37 AM
Tuesday, October 14, 2008 12:12 AM -
I found that I had an issue with removing the peoplepicker-onlysearchwithinsitecollection property value - once I correctly set that back to NO, the People Picker went back to searching AD.
I did set the peoplepicker-searchadforests to our domain and all is well.
So thanks Francesco for responding.- Marked as answer by Xing-Bing Yu - MSFT Wednesday, October 15, 2008 8:37 AM
Tuesday, October 14, 2008 2:05 PM