[Bug 3930] check_pam_user() fails for AD users they do not match case

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Feb 25 00:56:20 AEDT 2026


https://bugzilla.mindrot.org/show_bug.cgi?id=3930

Darren Moffat <darren.moffat at oracle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darren.moffat at oracle.com

--- Comment #1 from Darren Moffat <darren.moffat at oracle.com> ---
This comes from the strcmp() in check_pam_user().  It is well known
that Active Directory is case preserving but not case sensitive.

The simplest fix is to use strcasecmp() instead of strcmp().

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list