I can't figure out how to get a user to authenticate in LDAP (just using the ldapsearch CLI tool). I've added a inetPersonOrg/person to the directory with a userPassword field but when I do something like:

ldapsearch -x -b "cn=Richard,ou=richard,ou=test,dc=mysite,dc=com" "(objectclass=inetOrgPerson)" -w testing
I get Invalid credentials (49). Here is the Richard ldif:

dn: cn=Richard,ou=richard,ou=test,dc=mysite,dc=com
cn: Richard Tompson
sn: Tompson
userPassword: testing
objectClass: person
objectClass: inetOrgPerson