title: Why does ActiveDirectory authentication using .Net DirectoryServices work for all but one user?
body: <p>I'm using the following C#/.Net code on Windows(7/2008/etc) to authenticate users against active directory:</p>
  
  <pre><code>DirectoryEntry entry =
      new DirectoryEntry(domainPath, domain + @"\" + username, password);
  object obj = entry.NativeObject;
  </code></pre>
  
  <p>This works for hundreds of users, but not for one. I suspect it's something in the active directory account setup. The user has no problem authenticating on Windows with the exact same credentials or accessing network resources using windows integrated authentication. The user is a sys admin and is also set up as a remote admin.</p>