The syntax of this command is:
NET TRUST [/DOMAIN:domainname]
domainname [/DOMAIN:domainname] {/DELETE | /DISALLOW}
domainname [/DOMAIN:domainname] {/ADD | /ALLOW} [password | \*]
This command establishes and breaks trust relationships between the domains,
and lists the trust information for the specified domain. It can only be
used on a domain controller.
COMMENTS
To display the list of trusted and permitted to trust domains for the
local domain, type "net trust" without options.
Use the "net trust" command for administering trust relationships between
domains, enabling a user to have only one account in one domain, but be
possible to access the entire network.
A display of trusted and permitted to trust domains on the server is similar
to the following:
Domain: PRODUCT_DOM
Trusted Domains:
--------------------------------------------------------------------------
SALES_DOM LEGAL.DOM
Permitted to Trust this Domain:
--------------------------------------------------------------------------
SALES_DOM MARKET.DOM
EXAMPLES
At a UNIX system console, to display a list of trusted and permitted to
trust domains for the domain called product_dom, type the following:
net trust /domain:product_dom
To add a domain called sales_dom to the list of the domains permitted to
trust domain product_dom, type the following (replacing "password" with
the password used for setting up this trust relationship):
net trust sales_dom password /allow /domain:product_dom
To add a domain called sales_dom to the list of the domains trusted by
the local domain, type the following (replacing "password" with the
password the administrator of sales_dom chose for this trust relationship):
net trust sales_dom password /add
To delete a domain called sales_dom from the list of the domains permitted
to trust by the local domain, type the following:
net trust sales_dom /disallow
To delete a domain called sales_dom from the list of the domains trusted by
domain product_dom, type the following:
net trust sales_dom /delete /domain:product_dom
Replacing "password" with "\*" allows server to issue a prompt for a new
password which will not be displayed as you enter it.
SEE ALSO
For information about See
_____________________ _________
Getting help with network commands net help
To get Help on command options, type "net help {command} /options | more".
To get Help one screen at a time, type "net help {command} | more".