title: Authenticating username and password against LDAP using ADODB.Connection
body: <p>I have the following code:</p>
  
  <pre><code>object recs;
  ADODB.Connection conn = new ADODB.Connection();
  ADODB.Recordset rs = new ADODB.Recordset();
  
  conn.Provider = "ADSDSOObject";
  
  string SQLStmt = "SELECT cn FROM 'LDAP://" + server + "/o=nwu/ou=users' WHERE cn='" + userName + "'";
  conn.Open("ADs Provider", "****", "****");
  
  rs = conn.Execute(SQLStmt,out recs, 0);
  </code></pre>
  
  <p>This reads the information for the username.</p>
  
  <p>How do I actually check if the password matches this user?</p>