A single naming context on a server may not contain all of the data we might wish to find. Instead, the data may be distributed over different partitions and servers on the network. When a server does not have information requested by the client in a query, it can issue what is called a referral to direct the client to another location where that information might be found. As such, the client does not have to know where particular data can be found and can instead choose to continue the search on additional servers in the domain. We can specify four different referral behaviors.
Note: Do Not Combine Subordinate Referrals with Paged Searches
If paged searching is used, the Subordinate option cannot be used. No error or other indication will occur; it will simply be ignored if specified.
Chasing referrals can be an expensive operation, so it is best to avoid it or to use the global catalog when possible. They can also have complex security implications when the same credentials are used to attempt to access disparate directories.
Part I: Fundamentals
Introduction to LDAP and Active Directory
Introduction to .NET Directory Services Programming
Binding and CRUD Operations with DirectoryEntry
Searching with the DirectorySearcher
Advanced LDAP Searches
Reading and Writing LDAP Attributes
Active Directory and ADAM Schema
Security in Directory Services Programming
Introduction to the ActiveDirectory Namespace
Part II: Practical Applications
Part III: Appendixes
Appendix A. Three Approaches to COM Interop with ADSI
Appendix B. LDAP Tools for Programmers
Appendix C. Troubleshooting and Help