title: AD LDS Authentication using PrincipalContext
body: <p>I am trying to authenticate using AD LDS. I installed AD LDS on my machine.</p>
  
  <p>I use <code>System.DirectoryServices.AccountManagement.PrincipalContext.ValidateCredentials</code>
  for authentication.</p>
  
  <p>I create PrincipalContext as </p>
  
  <pre><code>PrincipalContext oPrincipalContext = 
        newPrincipalContext(ContextType.ApplicationDirectory, "localhost:389", "");
  </code></pre>
  
  <p>Server name and port number I am passing, I am not able to figure out what is the value that needs to be passed for container.</p>
  
  <p>Kindly let me know what is value we need to pass for container?</p>
  
  <p>Where this value is taken from?</p>
  
  <p>How do i configure this value in AD LDS? (is this specified during installation)</p>
  
  <p>What is relevance of specifying container name?</p>