Open leona-ya opened 6 months ago
I don't think we support weak ciphers any longer. :thinking:
Can you rebuild openldap against libxcrypt-legacy and try again?
Unfortunately that works :c I was hoping that it would use yescrypt then (as libxcrypt's default), but maybe i understood something wrong. I also tried to explicitly convince it to use yescrypt/sha512/bcrypt, but that didn't work either
{CRYPT} is actually a concrete scheme that was imported for compatibility with Linux passwd/shadow entries.
Hmm this reads to me that it should also supports the Linux shadow type hashes with newer algorithms generated by libxcrypt
Describe the bug
When generating a password hash with
{CRYPT}
as hashing algorithm (i.e. libxcrypt crypt()), the generation fails. This applies to bothslappasswd
and normal openldap server. Other hashing algorithms work.When I
gdb
-ed through the application it seems that inlibraries/liblutil/passwd.c:641
LUTIL_PASSWD_ERR = -1;
is returned, becauseSteps To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
A hash should be generated by the crypt() api.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
last gdb steps:
Notify maintainers
@mweinelt @ajs124 @dasJ
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.