title: Sanitize LDAP_bind query
body: <p>I know that when I query a MySQL database in PHP from user entered data, the data should be sanitized.  For a project that I am starting up, I will be authenticating against Active Directory for use login using the ldap_bind() function.  </p>
  
  <p>I've taken steps to check for a password to prevent an anonymous bind attempt, but I'm wondering if I need to take any other precautions like I would normally take when using user entered data.  Or is this something that Active Directory will take care of itself?</p>