I have setup openLDAP server on an ubuntu machine. I am trying to test user authentication, but am running into a problem. If, in ldap, the userPassword contains a plaintext password, authentication works just fine. However, if I set the value of userPassword to be a hashed password (like sha256), the authentication fails. Do I need to tell openLDAP that I am using sha somewhere?
FYI, I am using openLDAP and Apache Directory Studio to interact with it. I am testing authentication by trying to bind using a php script.