[Bug 213929] New: LSB: All PAM-related tests fail
https://bugzilla.novell.com/show_bug.cgi?id=213929 Summary: LSB: All PAM-related tests fail Product: openSUSE 10.2 Version: Alpha 5 plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jdluhos@novell.com QAContact: qa@suse.de All PAM-related tests in the runtime LSB test suite fail; I'm not sure whether this is really our bug or rather a bug in the test suite because normal PAM authentication works. I have tried to produce a test case based on the test code; please find it in the attachment. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 ------- Comment #1 from jdluhos@novell.com 2006-10-20 09:16 MST ------- Created an attachment (id=102145) --> (https://bugzilla.novell.com/attachment.cgi?id=102145&action=view) A small test case modelled after the LSB test. The test code assumes there is a user 'testuser' with password 'passw0rd' (see the two #defines at the start). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mc@novell.com |screening@forge.provo.novell| |.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from mc@novell.com 2006-10-20 10:17 MST ------- The test is wrong: result = pam_start( "login", user_info->pw_name, // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ &pam_conversation, &pam_handle ); If i run this as root it try to login as root with the password of testuser. This cannot work. If I change the test to : result = pam_start( "login", strdup(USER_NAME), &pam_conversation, &pam_handle ); I get a "success". -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 jdluhos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #3 from jdluhos@novell.com 2006-10-23 05:33 MST ------- OK, my test case is wrong, but the LSB test fails anyway :-) I will try to collect more data and produce a better test case. Reopening. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 jdluhos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #102145|0 |1 is obsolete| | ------- Comment #4 from jdluhos@novell.com 2006-10-23 06:49 MST ------- Created an attachment (id=102272) --> (https://bugzilla.novell.com/attachment.cgi?id=102272&action=view) The test case. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 ------- Comment #5 from jdluhos@novell.com 2006-10-23 06:50 MST ------- Please find a new test case; this one is part of the genuine LSB test, so hopefully it will work. An additional PAM config file is needed - also attached (/etc/pam.d/lsbpam_conf). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 ------- Comment #6 from jdluhos@novell.com 2006-10-23 06:50 MST ------- Created an attachment (id=102279) --> (https://bugzilla.novell.com/attachment.cgi?id=102279&action=view) The config file for the PAM test. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 kukuk@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kukuk@novell.com ------- Comment #7 from kukuk@novell.com 2006-10-23 07:44 MST ------- We are using blowfish for crypt, but pam_unix.so can only handle bigcrypt and MD5. Broken by design :-(( -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc@novell.com AssignedTo|mc@novell.com |kukuk@novell.com Status|REOPENED |NEW ------- Comment #8 from mc@novell.com 2006-10-23 07:51 MST ------- By default SUSE LINUX is using blowfish as crypt mechanism. pam_unix does not know blowfish. This is the reason why all testcases fail. Please edit "/etc/default/passwd" and change: CRYPT_FILES=blowfish ^^^^^^^^ to : "des" or "md5". After this you have to assign the password again to the testuser: $> passwd testuser .. After doing this the testcase works. Thorsten will have a look if he can fix pam_unix to support blowfish. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 ------- Comment #9 from jdluhos@novell.com 2006-10-23 08:29 MST ------- Confirming that the problem is fixed by setting crypt mechanism to DES. :-) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=213929 kukuk@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #10 from kukuk@novell.com 2006-10-24 06:29 MST ------- I have a new pam package submitted. -- 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.
participants (1)
-
bugzilla_noreply@novell.com