Configuring the People Picker in a trusted domain scenario and Sharepoint Foundation 2010

If you get an Access Denied message when trying to run the stsadm commands such as setpassword and setproperty then open the command prompt windows as an Administrator, and try again.

Setting the correct search scope for the people picker:
  1. stsadm -o setapppassword -password xxxxxx
  2. stsadm -o setproperty -pn peoplepickser-searchadforests -pv "domain:first.com;domain:second.com,domain\user,password" -url http://sharepoint2010/

First.com domain trusts users from second.com. For the people picker to find users in the second.com domain a valid user in second.com domain has to be provided. Because we provide a user name and password we first have to set the password encryption key.

No comments: