People Picker Sharepoint 2007/2010


Sometimes you went under such a surprising situation that a user exist in AD and it is not resolving the same user in MOSS Environment.

Ex: user of domain1 test\ashish

present is AD, but when you are trying to add the same user in MOSS of domain2 it is not resolving the same.

This situation occur when we occur configure server to support to AD using 1 way trust.

We need to tell to sharepoint to look into other domain also. It is quite simple.

All is game of 4 commands:

1) Get/Check property:

stsadm -o getproperty -url http://webapplication  -pn peoplepicker-searchadforests

This property will check if any property exist or not. If the property didnt exist you can set the

property.

2) Set Password:

stsadm -o setapppassword -password <any password>

It can also be called as :Rerun the password encrypt command with different password.

NewPassword can be anything you want. It will encrypt the people picker password in ssp.

3) Set property:

stsadm -o setproperty -url http://webapplication -pn peoplepicker-searchadforests -pv “domain:domain1.local,domain\username,password;domain:domain2.local, domain\username,password”

It is also possible to add forest instead of domain, command for that

stsadm -o setproperty -url http://webapplication -pn peoplepicker-searchadforests -pv “forest:domain1.local,domain\username,password;domain:domain2.local, domain\username,password”

V.IMP: THIS COMMAND WILL NOT GIVE ANY ERROR IF YOU GIVE WRONG PASSWORD OF A USERNAME .THIS WILL NOT SOLVE THE PURPOSE .  SO CAREFULLY GIVE THE PASSWORD

4) Clear Property:

stsadm -o setproperty -url http://webapplication -pn peoplepicker-searchadforests  -pv “”

Clear the peoplepicker-searchadforests property value via stsadm command and add the property again.

If you liked this post, do like on Facebook at http://www.facebook.com/Ashishsharepointblog

Hope this helps.:)

Ashi

This entry was posted in MOSS 2007, SharePoint2010, SQLServerPedia, Window Server. Bookmark the permalink.

One Response to People Picker Sharepoint 2007/2010

  1. Sonja Mori says:

    Remarkable! Its actually awesome paragraph, I have
    got much clear idea about from this article.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s