Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 12728

stsadm.exe syntax when adding users in a one-way trust

$
0
0

Hello Community

    When establishing a one-way trust relationship there are 3 stsadm.exe commands that have to be entered. 

    Also I don’t know why these commands have to be entered.

    But the first one is works fine:

        stsadm -o setapppassword -password password
 
    As for the second command a couple of variations exists but of those commands there are 2 that seem the best but getting the syntax correct is the problem. For example lets say the trusting forest name and it's domain name is the same which is “
ssite.scity.sstate.us”. Now of the following 2 commands, how would I apply my trusting forest name/domain name and which one to insert it into:

    1)
stsadm-o setproperty-pn peoplepicker-searchadforests-pv"forest:sharepointforest.com; trustedforest.com,trustedforestusername,password"–Url http://webApp

 2)  stsadm.exe -o setproperty -pn peoplepicker-searchadforests -pv "trusted forest name,trusted forest name\trusted forest username,password; domain:trusting forest name,trusting forest name\username,password" -url  myWebAppUrl

    There is also a third command which I have yet to use in the sequence of these commands
because it looks like it may have been already applied in command above:

   3) forest:trustedforestname,user1,password

   In practice when you apply permissions there are scenarios when you have to apply permissions.  The above syntax seems to only apply to "people" so once I get that syntax right how would I change that syntax to apply to the different "groups" that those usernames will be added to?

    Thank you
    Shabeaut






Viewing all articles
Browse latest Browse all 12728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>