Learn Windows XP Professional in 15 Minutes a Week: Windows XP Pro in AD Environments, Part 1 Page 2

Download the authoritative guide: Data Center Guide: Optimizing Your Data Center Strategy

Download the authoritative guide: Cloud Computing: Using the Cloud for Competitive Advantage

Trust Relationships

All of the domains in a domain tree and all of the trees in a single forest have the connectivity benefits of a two-way, transitive trust relationship, which is the default trust relationship between Windows 2000 domains. By definition, a two-way, transitive trust is the combination of a transitive trust and a two-way trust. This complete trust between all domains in an Active Directory domain hierarchy helps form the forest as a single unit via its common schema, configuration, and global catalog.

Transitive trusts are a relationship that extends from one domain to the next, and the next, and so on. In the above example, Northamerica.Zandri.net indirectly trusts Southamerica.Zandri.net because the trust relationship travels from Northamerica.Zandri.net to Zandri.net to Southamerica.Zandri.net. Because Northamerica.Zandri.net to Zandri.net is a direct trust and Zandri.net to Southamerica.Zandri.net is a direct trust and all trusts in a Windows 2000 Active Directory are transitive by default, Northamerica.Zandri.net indirectly trusts Southamerica.Zandri.net.

This is also the relationship of Northamerica.Zandri.net to Southamerica.Gunderville.com. Since they are all in the same forest and connected by a common schema, configuration, and global catalog (as well as the fact that all Windows 2000 Active Directory are transitive by default), the following is true:

Northamerica.Zandri.net directly trusts Zandri.net and Zandri.net directly trusts Gunderville.com and Gunderville.com directly trusts Southamerica.Gunderville.com. Therefore Northamerica.Zandri.net indirectly trusts Southamerica.Gunderville.com.

A two-way trust can be looked at simply as two one-way trusts between two domains. When Zandri.net trusts Northamerica.Zandri.net, it is a one-way trust. When Northamerica.Zandri.net trusts Zandri.net, it is another one-way trust. The trust is considered two way when each trusts the other in the same reverse manner it is trusted.

This would also be where Zandri.net trusts Gunderville.com and Gunderville.com trusts Zandri.net. Since these two domain trees are in the same forest, they each trust the other and all of their child domains (two way and transitively).

Again, all of the domains in a domain tree and all of the trees in a single forest have the connectivity benefit of the two-way, transitive trust relationships, which are the default trust relationships between Windows 2000 domains.

This is not true of domains and domain trees outside of the forest. (Such trusts are referred to as external trusts.)

For example, if Zandri.net were corroborating a project with 2000trainers.com where users in the 2000trainers.com Windows 2000 domain needed access to resources within the Zandri.net Windows 2000 domain, the domain administrator for Zandri.net would have to manually set up a trust relationship with 2000trainers.com in which Zandri.net trusted 2000trainers.com so that users in 2000trainers.com could gain access to the resources they needed. This would not give users in Zandri.net access to any resources in 2000trainers.com, as the manual setup of a one-way trust does not automatically allow for the "reverse" one-way trust, making 2000trainers.com trust the users of Zandri.net.

Figure 2: One-Way Trust

Such a trust is also in no way transitive. If there was situation where a trust was established from Zandri.net to 2000trainers.com and there was a child domain of 2000trainers.com called Forums.2000trainers.com, users of Forums.2000trainers.com could not gain access to any of the resources in Zandri.net, even though those resources might be included in the common schema, configuration, and global catalog of the 2000trainers.com Active Directory. The trust that exists is between only 2000trainers.com and Zandri.net, and in the example of Figure 2 it has been set so that only users in 2000trainers.com can access resources in the Zandri.net domain. If access to Zandri.net is required by users of the forums.2000trainers.com Windows 2000 domain, then another one-way, external, non-transitive trust would need to be established.

Figure 3: One-Way, External, Non-transitive Trust

External trusts can be created between different Windows 2000 forests or to a Windows NT domain (sometimes called a down-level domain) or a Kerberos version 5 realm.

You can also combine two one-way trusts to create a two-way trust relationship. In this case, 2000trainers.com would trust Zandri.net and Zandri.net would trust 2000trainers.com. However, even these are not transitive, since they are from different Windows 2000 Active Directory forests.

[NOTES FROM THE FIELD] - In Figure 3, users of the 2000trainers domain would be able to access resources if they are given permission to in the Zandri.net domain. However, this does not necessarily allow them access to the other domains in the forest, such as Northamerica.Zandri.net, Southamerica.Zandri.net, or any of the Gunderville.com domain tree.

Well, that wraps up this section of "Learn Windows XP Professional in 15 Minutes a Week." I hope you found it informative and will return for the next installment.

If you have any questions, comments or even constructive criticism, please feel free to drop me a note. I want to write solid technical articles that appeal to a large range of readers and skill levels, and I can only be sure of that through your feedback.

Until next time, best of luck in your studies and remember:

Of all the oxymorons there are, found missing and clearly misunderstood are two of my favorites.

This article was originally published on Jan 15, 2003
Page 2 of 2

Thanks for your registration, follow us on our social networks to keep up-to-date