From e10f27d5759b2d21c82fdb20f5641e1f6feab158 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 30 May 2011 11:14:47 +0200 Subject: Improve documentation for net rpc trust MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add man pages entries and fix usage output. Signed-off-by: Günther Deschner Autobuild-User: Günther Deschner Autobuild-Date: Mon May 30 20:05:34 CEST 2011 on sn-devel-104 --- docs-xml/manpages-3/net.8.xml | 120 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) (limited to 'docs-xml/manpages-3') diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index d69a3b7220..18c74ef39a 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -795,7 +795,127 @@ appear in your system. List all interdomain trust relationships. + +RPC TRUSTDOM LIST + +List all interdomain trust relationships. + + + + + +RPC TRUST + + +RPC TRUST CREATE + +Create a trust trust object by calling lsaCreateTrustedDomainEx2. +The can be done on a single server or on two servers at once with the +possibility to use a random trust password. + +Options: + +otherserver +Domain controller of the second domain + + + +otheruser +Admin user in the second domain + + + +otherdomainsid +SID of the second domain + + + +other_netbios_domain +NetBIOS (short) name of the second domain + + + +otherdomain +DNS (full) name of the second domain + + + +trustpw +Trust password + + +Examples: + +Create a trust object on srv1.dom1.dom for the domain dom2 + +net rpc trust create \ + otherdomainsid=S-x-x-xx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxx \ + other_netbios_domain=dom2 \ + otherdomain=dom2.dom \ + trustpw=12345678 \ + -S srv1.dom1.dom + + + +Create a trust relationship between dom1 and dom2 + +net rpc trust create \ + otherserver=srv2.dom2.test \ + otheruser=dom2adm \ + -S srv1.dom1.dom + + + + + + +RPC TRUST DELETE + +Delete a trust trust object by calling lsaDeleteTrustedDomain. +The can be done on a single server or on two servers at once. + +Options: + +otherserver +Domain controller of the second domain + + + +otheruser +Admin user in the second domain + + + +otherdomainsid +SID of the second domain + + + +Examples: + +Delete a trust object on srv1.dom1.dom for the domain dom2 + +net rpc trust delete \ + otherdomainsid=S-x-x-xx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxx \ + -S srv1.dom1.dom + + + +Delete a trust relationship between dom1 and dom2 + +net rpc trust delete \ + otherserver=srv2.dom2.test \ + otheruser=dom2adm \ + -S srv1.dom1.dom + + + + + + + + RPC RIGHTS -- cgit