By: Izzy Iz user 29 Dec 2021 at 5:16 p.m. CST

1 Response
Izzy Iz gravatar
Hello, We are migrating our users from a MySQL db to Gluu. Those users already have hashed passwords (as SHA256). I see that Gluu only supports salted SHA256, is there an way to import those SHA256 passwords ? Thanks for your help.

By Michael Schwartz Account Admin 30 Dec 2021 at 10:07 a.m. CST

Michael Schwartz gravatar
OpenDJ does not support non-salted SHA256. What I would do is to store these passwords in another LDAP attribute, implement a comparison in a Person Authentication Interception Script (where you implement the SHA hash prior to the comparison), store the password in the `userPassword` attribute using the default hash (bcrypt), and remove the legacy password hash. Writing scripts and helping with custom migrations is outside of community support. But you could reach out to one of our partners, like Centroxy, for help.