Bug 495941 - pam_succeed_if should match against supplied username, not what some NSS module made out of it
Summary: pam_succeed_if should match against supplied username, not what some NSS modu...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-15 16:07 UTC by Nils Philippsen
Modified: 2009-09-01 15:37 UTC (History)
3 users (show)

Fixed In Version: pam-1.1.0-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-01 15:37:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2009-04-15 16:07:11 UTC
Description of problem:
When attempting to prohibit e.g. logins with a supplied uppercase user name, this won't work with users coming out of ADS because winbindd (via nss_winbind) converts the supplied user name to lower case.

Version-Release number of selected component (if applicable):
pam-1.0.2-2.fc10

How reproducible:
Reproducible

Steps to Reproduce:
1. have a user in ADS, integrated via winbind
2. auth sufficient user !~ [*[A-Z\]*]
3. Try to login via ssh, supplying at least one capital character in the user name
  
Actual results:
Logging in works, "user ... met requirement" in the log

Expected results:
Logging in doesn't work

Additional info:


Note You need to log in before you can comment on or make changes to this bug.