title: LDAP: how to search for user with windows id
body: <p>I need to authenticate a user using the windows ID which is not the same as the "user name".  For example: windows ID is jSmith but the user name is "Joe Smith".  I need to find Joe Smith based on the windows ID and then check if he is a member of a certain group.  </p>
  
  <p>I'm assuming or hoping that the windows ID is an attribute of the user but I'm new to the LDAP and don't know how to search for a specific attribute in all users.</p>