次の方法で共有


Create a realm trust

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To create a realm trust

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open Active Directory Domains and Trusts.

  2. In the console tree, right-click the domain node for the domain you want to administer, and then click Properties.

  3. On the Trusts tab, click New Trust, and then click Next.

  4. On the Trust Name page, type the realm name for the target realm, and then click Next.

  5. On the Trust Type page, select the Realm trust option, and then click Next.

  6. On the Transitivity of Trust page, do one of the following:

    • To form a trust relationship with the domain and the specified realm, click Nontransitive, and then click Next.

    • To form a trust relationship with the domain and the specified realm and all trusted realms, click Transitive, and then click Next.

  7. On the Direction of Trust page, do one of the following:

    • To create a two-way, realm trust, click Two-way.

      Users in this domain and users in the specified realm can access resources in either domain or realm.

    • To create a one-way, incoming realm trust, click One-way:incoming.

      Users in the specified realm will not be able to access any resources in this domain.

    • To create a one-way, outgoing realm trust, click One-way:outgoing.

      Users in this domain will not be able to access any resources in the specified realm.

  8. Continue to follow the wizard.

Notes

  • To perform this procedure, you must be a member of the Domain Admins group or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open Active Directory Domains and Trusts, click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Domains and Trusts.

Using a command line

  1. Open Command Prompt.

  2. Type:

    netdom trustTrustingDomainName**/d:TrustedDomainName/add/realm/PasswordT:**NewRealmTrustPassword

Value Description

TrustingDomainName

Specifies the DNS name of the trusting domain in the new realm trust.

TrustedDomainName

Specifies the DNS name of the domain that will be trusted in the new realm trust.

NewRealmTrustPassword

Specifies the trust password for the new realm trust. This password must match the one used in the Kerberos realm.

Notes

  • To perform this procedure, you must be a member of the Domain Admins group or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • This command-line method requires the Netdom Windows support tool. For information about installing Windows support tools, see Related Topics.

  • Other switches can be used to assign a password or determine the direction of the trust. For example, to make the above trust a two-way, transitive trust you would use the following syntax:

    netdom trustTrustingDomainName**/d:TrustedDomainName/add/realm/twoway**

  • To view the complete syntax for this command, at a command prompt, type:

    netdom trust | more

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

When to create a realm trust
Trust types
Trust direction
Runas
Using Run as
Install Windows Support Tools