the-generalist.com

  • Increase font size
  • Default font size
  • Decrease font size
joomla templates, wordpress themes, drupal, datalife engine, graphics, seo,
Home

Using SharePoint People Picker with Multiple Domains or Trusted Domains

E-mail Print PDF

If you install SharePoint and try to add users from another domain, you'll be annoyed to find they might not show up in the people chooser. SharePoint should automatically find users on other forests and domains when there is a two way trust. If the trust is only one way, it doesn't. This can make it difficult to add users from other domains which can be a problem depending on your scenario. Fortunately, it isn't very hard to fix this in most cases (although it does take some command line work). I found a bunch of generic copies of the command line commands when trying to set this up, but not a good explanation of what to fill into the commands. Here's what worked for me:

First you must set the password that will be used to encrypt the login information that is sent and stored. You can make up whatever password. You need to run this command on all the front-end web servers. If it's just one SharePoint server, you just run it on that server. Make sure to run these in an elevated command prompt.

stsadm –o setapppassword -password ThePasswordYouMadeUp

Next you need to add the other domains. You can add multiple domains and\or forests. The login given needs to be a login that has read access to the user list you want on the domain. I just used my own account which doesn't have any special privileges. You should make an account with more restricted access specifically for this. That way you don't have to worry about password changes. I'm going to put some example logins in the line below to help make the example clear. The login names should be in the format DOMAIN\LOGIN. You can use a different account for each domain or forest. I'm using the same account for both below.

stsadm –o setproperty –pn peoplepicker-searchadforests –pv "forest:mycompany.com,TG\Hunter,MyPassword;domain:tg.mycompany.com, TG\Hunter,MyPassword" -url http://YourSharePointSiteHere

Last Updated on Thursday, 22 September 2011 13:52  

Comments  

 
0 #201 Ecu book Exchange 2017-12-15 18:35
Hello, constantly i used to check website posts here in the early hours in the dawn, for
thee reason that i like to find oout more and more.
Quote
 
 
0 #200 ECU Circuits 2017-12-14 07:01
Goood way oof telling, and pleasant article
to take data regarding my presentation focus, which i am going to present in college.
Quote
 
 
0 #199 captchaboss 2017-12-13 02:43
Wh?t's up everyone, it's my first pay a quick visit at th?s web ?age, and
piece of writing ?s in f?ct fruitful in favor of me, k?ep up posting th?s?
types ?f posts.
Quote
 
 
0 #198 CaptchaCoder 2017-12-12 18:36
?t is perfect t?m? t? ma?e s?me plans f?r t?e future andd ?t's time to be
ha?py. I've read t??s post ?nd if I couldd I want
to suggest ?o? some int?resting things or advice.
Maybe ?ou could w?ite ne?t articles referring t? th?? article.
? want t?o read mo?e thing? a?out it!
Quote
 
 
0 #197 MashapAL 2017-12-05 13:27
This message is posted here using XRumer + XEvil 4.0

XEvil 4.0 is a revolutionary application that can bypass almost any anti-botnet protection.
Captcha Recognition Google (ReCaptcha-1, ReCaptcha-2), Facebook, BING, Hotmail, Yahoo,
Yandex, VKontakte, Captcha Com - and over 8.4 million other types!

You read this - it means it works! ;)
Details on the official website of XEvil.Net, there is a free demo version.

Check YouTube video "XEvil ReCaptcha2"
Quote
 
 
0 #196 Merle 2017-11-26 12:58
It is truly a nice and helpful piece of info.

I'm glad that you simply shared this helpful information with us.

Please keep us up to date like this. Thank you for sharing.
Quote
 
 
0 #195 homescapes cheats 2017-11-25 00:22
Say no to Google Play and payments for versions.
Quote
 
 
0 #194 Myrna 2017-11-20 04:46
Hey there just wanted to give you a quick heads up and
let you know a few of the images aren't loading properly.
I'm not sure why but I think its a linking
issue. I've tried it in two different internet browsers and
both show the same outcome.
Quote
 
 
0 #193 land rover a5c 2017-11-19 16:16
Hey There. I found your blog using msn. This is an extremely well written article.
I'll be sure to bookmark it and come back to
read more of your useful information. Thanks for the post.
I'll certainly return.
Quote
 
 
0 #192 Alberto 2017-11-13 20:42
With havin so much written content do you ever run into any problems of plagorism or copyright infringement?
My site has a lot of unique content I've either created myself or outsourced but it seems a lot of it is popping it up all over the web without my permission. Do you know any
ways to help protect against content from being ripped off?
I'd certainly appreciate it.
Quote
 
 
0 #191 WO 2017-11-12 03:26
You really make it seem so easy together with your presentation however I in finding
this matter to be really something that I feel I would by no means
understand. It sort of feels too complex and extremely vast for me.

I'm taking a look forward on your subsequent publish, I'll try to get the cling of it!
Quote
 
 
0 #190 pdfsr.com 2017-11-08 01:24
Baltimore: University of Johns Hopkins, 2001.
Quote
 
 
0 #189 LP 2017-11-06 18:50
It is actually a nice and helpful piece of info. I am glad that
you shared this useful information with us. Please
keep us informed like this. Thank you for sharing.
Quote
 
 
0 #188 Lashonda 2017-11-06 14:03
Today, while I was at work, my sister stole my iPad and tested to see if it can survive a thirty foot
drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views.
I know this is entirely off topic but I had to share it with
someone!
Quote
 

Add comment


Security code
Refresh

Main Menu