Skip to content

ZBUG-5376: Fix Openldap password/sha2 produces incorrect SHA256#234

Open
umagmrit wants to merge 1 commit intodevelopfrom
ZBUG-5376
Open

ZBUG-5376: Fix Openldap password/sha2 produces incorrect SHA256#234
umagmrit wants to merge 1 commit intodevelopfrom
ZBUG-5376

Conversation

@umagmrit
Copy link
Copy Markdown
Contributor

@umagmrit umagmrit commented Apr 7, 2026

Issue:
SHA256 and SSHA256 hashes generated by LDAP on RHEL9/Ubuntu22 systems are currently incorrect. This results in incorrect newly generated userPasswords, and authentication failure for valid SSHA256 hashed userPasswords generated by other systems (moved to R9 through migration/replication/etc. during OS upgrade process).

Fix:
Added -fno-strict-aliasing to the SHA2 module build flags to prevent unsafe compiler optimizations.

Add -fno-strict-aliasing for consistent behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants