Note that there are some explanatory texts on larger screens.

plurals
  1. POPerformance issues in connecting to AD using Global catalog
    primarykey
    data
    text
    <p>I faced performance issues to connect to active directory using Domain Catalog approach then a friend advised me to use the Global Catalog approach but I faced higher performance issues I did make a proof-of-concept and then using </p> <p><strong>Example 1</strong> : using domain catalog</p> <pre><code>DirectoryEntry de = new DirectoryEntry(); de.Path = "LDAP://DomainName.CORP.COM"; de.Password = "UserPassword"; de.Username = "UserName"; DirectorySearcher deSearch = new DirectorySearcher(); deSearch.SearchRoot = de; deSearch.ClientTimeout = new TimeSpan(0, 0, 60); deSearch.SearchScope = SearchScope.Subtree; string format = "(&amp;(objectClass=user)(sAMAccountName="+InputUserName+"))"; deSearch.Filter = string.Format(format, UserName); </code></pre> <p>It took about 1 second </p> <p><strong>Example 2</strong> : using Global Catalog with unsecured port (3268): </p> <pre><code>de.Path = "GC://CORP.COM:3268"; </code></pre> <p>it took 6 seconds </p> <p><strong>Example 3</strong> : using Global Catalog with secured port (3269): </p> <pre><code>de.Path = "GC://CORP.COM:3269"; </code></pre> <p>It took 38 seconds </p> <p>Can you help me how can I solve performance issues using secured Global Catalog approach as you see it took much time ? </p> <p>By the way I found at the following article : <a href="http://support.microsoft.com/kb/951581" rel="nofollow">http://support.microsoft.com/kb/951581</a> the we can solve performance issues by work around to disable paged query but I do not know how I implement that ? </p> <p>Your feedback will be highly appreciated </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload