https://bugzilla.novell.com/show_bug.cgi?id=213235 Summary: Login (pam_unix2) ignores case and eliminates leading ans trailling whitespaces on login. Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jolz@gmx.de QAContact: qa@suse.de Applies to SuSE Linux 10.0 and SuSE Linux 10.1 When i log in , i can use as username "jolz", "jolz ", " jolz", "JOLZ", " JOLZ " and login succeed although my real username is "jolz". After login, $HOME is correct, but $USER is the misspelled name. Some windows mount (using $USER as user) fail. The command "id" gives mit currect information. i expected the login would fail for "JOLZ". This Problem happens, when i authenticate against LDAP (SAMBA 3.0.20-4-SUSE on SuSE 10.0 with pam_unix2.so When authenticate against local passwd, only "jolz" is valid. Here is my /etc/pam.d/xdm #%PAM-1.0 auth required /ichaus/usr/lib/security/pam_mount.so auth required pam_unix2.so use_first_pass nullok #set_secrpc account required pam_unix2.so password required pam_unix2.so #strict=false session required pam_unix2.so debug # trace or none session required pam_devperm.so session required pam_resmgr.so session optional /ichaus/usr/lib/security/pam_mount.so Here is my /etc/security/pam_unix2.conf # pam_unix2 config file # # [...] # auth: use_ldap nullok account: use_ldap password: use_ldap nullok session: none Here is /var/log/messages (slightly modified: hostname removed, logged in as " JOLZ"): [...] Oct 18 09:51:11 foopc kdm: barpc:1[19586]: nss_ldap: reconnected to LDAP server ldap://ldapserver, after 1 attempt Oct 18 09:51:12 foopc kdm: barpc:1[19586]: nss_ldap: reconnected to LDAP server ldap://ldapserver, after 1 attempt Oct 18 09:51:12 foopc kdm: barpc:1[19586]: pam_unix2(xdm:session): session started for user JOLZ, service xdm Oct 18 09:51:12 foopc PAM-devperm[19586]: bad username [ JOLZ] Oct 18 09:51:12 foopc an:[19586]: pam_mount: reading options_require... [...] later on the Shell: $ echo "'$USER'" ' JOLZ' Sorry, can't test this on SuSE 10.2 alpha now ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.