title: AD authentication using Unicode
body: <p>Just implemented AD Authentication in C# using:</p>
  
  <pre><code>DirectoryEntry entry = 
    new DirectoryEntry(_path, domainAndUsername, pwd, AuthenticationTypes.Secure);
  </code></pre>
  
  <p>where _path is <code>LDAP://</code>+ full qualified domain name (eg. the ip of the domain controler). </p>
  
  <p>Now I have to do the same using Delphi. So I found Solomon's excelent Delphi 2007 LDAP implementation at <a href="http://www.freemeg.com/index.php/projects/projects-2/15-delphi-ldap-authentication-component" rel="nofollow">http://www.freemeg.com/index.php/projects/projects-2/15-delphi-ldap-authentication-component</a></p>
  
  <ol>
  <li>Have anyone a working version for Delphi 2009+ (unicode)? </li>
  <li>Have anyone a working sample with simple AD Authentication processing(eg. validating) domain\userid and password?</li>
  </ol>
  
  <p>In C# the nice part is that I don't need to traverse the AD - I simply performs a one level search via LDAP - just to check if the user is authenticated.</p>