Using LDAP is checking a username/password as simple as attempting to bind as that user and noting the results, or is there a special LDAP \"check password\" function?
Binding as that user is sufficient. The password is checked in the process of binding.