| 
 | 
 
 | 
| OpenLDAP does not support SHA-2 password hash formats directly, but there is a third-party module available: http://www.openldap.org/its/index.cgi/Contrib?id=5660 jeff@atlassian.com  | |
| You can have indirect support through the {CRYPT} algorithm if your system's crypt() function supports it, as on a recent GNU/Linux. You should care about portability when doing that though.
 bernard@massot.ath.cx  | |
| Since OpenLDAP release 2.4.32 SHA-2 algorithms are supported by the overlay slapo-pw-sha2 which is found under contrib/ and has to be built separately.
 michael@stroeder.com  | |
| Many distributions include the pw-sha2 overlay now and allow for {SHA256}, {SHA512}, and salted variants.
 elizabeth@interlinked.me  | |
| 
 I found it very difficult to mesh the moving parts that are necessary to enable SHA512 passwords on Debian and Ubuntu. I got it to work and documented the process here: 
TL;DR: Read up on  {CRYPT}$6$bCFmhgGp8n9T403x$kwTl5QRsRRPHiTsRfPuIbRydXuidEMlvk0QhltoZVVTibNPNcYmbQWMqbD6kXlts5GY8f5n707kExdAbQttNC1
chadmatsalla@gmail.com  | |
| 
Just to state the obvious, SHA-256 and SHA-512 based "glibc" crypt algorithms $5$ and $6$ are totally different from plain (or salted) "{SHA256}" algorithms. The libc crypt variants do a lot of nonsensical transpositions to increase the computational load.
 b.eckenfels@seeburger.de  | |
| [Append to This Answer] | 
| Previous: | 
 | 
| Next: | 
 | 
  | ||||||||