Passwords weren’t working on ldap accounts. This was fixed by adding the following to the slapd.conf file.

access to attr=userPassword
        by self write
        by anonymous auth
        by * none

access to *
        by * read