SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a PeoplePicker that should be requesting users from two domains (with two-way trust), but is only showing users from the server domain. The second domain has been set via the peoplepicker-searchadforests command, and the getProperty command brings up the correct information.

stsadm -o setproperty -pn "peoplepicker-searchadforests" -pv ",two\admin,passTwo!" -url http://sp01/

stsadm -o getproperty -pn "peoplepicker-searchadforests" -url http://sp01/
--> returns <Property Exists="Yes" Value=",two\admin,****"  />

Also, peoplepicker-onlysearchwithinsitecollection is has a value of "no".

When searching in the pickerdialog, I've looked at the LDAP message request using MS Network Monitor, and the second domain controller is returning the correct list of users. Those users are not shown in the people picker however, only the users from the server domain are being shown.

What do I have to do so that the people picker will show users from both domains?

share|improve this question
up vote 1 down vote accepted

It turns out that the second domain was set up incorrectly. Most likely it was set up as its own forest when it was created instead of being in the same forest as the first domain. I created a new domain controller and putting it the same forest and created a few users and it all worked correctly.

So despite all the other steps being correct and having two-way trust between the domains, if they're not in the same forest, SharePoint still won't show the results or access any of the user information in the second domain (ie login etc).

share|improve this answer
Thanks for coming back and posting the answer. :) – Kit Menke Jul 28 '11 at 19:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.