By: ved singh user 03 Jan 2018 at 11:24 p.m. CST

5 Responses
ved singh gravatar
Hi, I was wondering if there is support for bcrypt password hashes in OpenLDAP. I've never worked with OpenLdap before so pardon my ignorance. On googling it seems like OpenLDAP can store passwords in cleartext, as encrypted strings, or as hashes (one-way algorithms). If it supports then how can we enable it in Gluu ? Thanks

By Thomas Gasmyr Mougang staff 04 Jan 2018 at 8:12 a.m. CST

Thomas Gasmyr Mougang gravatar
Hi Ved, A quick Google search let us known that the bcrypt hashing is not provide by default with OpenLDAP. But some initiative has been taken in that sense. See the bellow links for more details. 1. https://github.com/wclarie/openldap-bcrypt 1. https://github.com/osixia/docker-openldap/issues/150 Gluu for this moment don’t support bcrypt password encription. We may add that in our features list for future release.

By ved singh user 04 Jan 2018 at 4:15 p.m. CST

ved singh gravatar
Hi Thomas, Thanks for the response. Does support any other encryption type? Thanks

By Thomas Gasmyr Mougang staff 05 Jan 2018 at 9:05 a.m. CST

Thomas Gasmyr Mougang gravatar
Gluu support both OpenLDAP and OpenDJ password storage scheme. You can found in the link below a list of password storage scheme supported by OpenDJ. [https://backstage.forgerock.com/knowledge/kb/book/b99437584](https://backstage.forgerock.com/knowledge/kb/book/b99437584). You can google to found those supported by OpenLDAP. Thanks!

By Michael Schwartz Account Admin 08 Jan 2018 at 3:52 p.m. CST

Michael Schwartz gravatar
Actually, bcrypt plugin is included with the Gluu OpenDJ distribution. Check OpenLDAP documentation for how to configure.

By ved singh user 08 Jan 2018 at 5:15 p.m. CST

ved singh gravatar
Thats great and thanks for the update.