This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 136760 - latest rawhide pam kills krb+ldap logins
latest rawhide pam kills krb+ldap logins
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: authconfig (Show other bugs)
rawhide
All Linux
high Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
:
: 142820 (view as bug list)
Depends On:
Blocks: FC3Blocker
  Show dependency treegraph
 
Reported: 2004-10-22 04:10 EDT by Nicolas Mailhot
Modified: 2007-11-30 17:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-12-08 03:44:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
login (529 bytes, text/plain)
2004-10-25 08:43 EDT, Nicolas Mailhot
no flags Details
system-auth (1.09 KB, text/plain)
2004-10-25 08:43 EDT, Nicolas Mailhot
no flags Details
debug traces (4.55 KB, text/plain)
2004-10-25 08:48 EDT, Nicolas Mailhot
no flags Details

  None (edit)
Description Nicolas Mailhot 2004-10-22 04:10:03 EDT
On a rawhide system that uses krb for passwords and ldap for group
info  login does not work wirh pam 0.77-65

(logs show krb5 passwd works, id on the user works for root, but login
fails with "can not retrieve auth info")

Reverting to FC2 pam+authconfig fixes the problem
Comment 1 Tomas Mraz 2004-10-22 04:28:32 EDT
Could you please try pam+authconfig from FC3test1 and FC3test2?
Comment 2 Nicolas Mailhot 2004-10-22 04:43:15 EDT
Won't have the time to do it before monday;(

Though the rawhide box is regularly synched, and worked two days ago,
to I suppose the breakage is fairly recent and the FC3Tests should all
work
Comment 3 Tomas Mraz 2004-10-22 05:48:31 EDT
Now I know the cause - it happened in pam-0.77-58
Comment 7 Nicolas Mailhot 2004-10-25 06:23:58 EDT
As I suspected the FC3T3 login stack works. So pam-0.77-58 is not the
culprit

-rw-r--r--  1 root root  259456 oct  4 19:17 authconfig-4.6.5-1.i386.rpm
-rw-r--r--  1 root root   35644 oct  4 19:17
authconfig-gtk-4.6.5-1.i386.rpm
-rw-r--r--  1 root root 1904160 sep 29 20:24 pam-0.77-60.i386.rpm
-rw-r--r--  1 root root   80804 sep 29 20:24 pam-devel-0.77-60.i386.rpm
Comment 8 Tomas Mraz 2004-10-25 06:53:04 EDT
I'm sorry but I cannot reproduce it here. (I've setup krb5
authentication with ldap account info and I can successfully log in
using that configuration with users which aren't or are in /etc/passwd).

And if I look at the changes between pam-0.77-60 and pam-0.77-65 there
were virtually no changes which could affect this.
Comment 9 Nicolas Mailhot 2004-10-25 07:36:02 EDT
Well there is an authconfig version change too since FC3T3 so the bug
might be there not in pam.

Anyway the problem is 100% reproductible. Just tell me what tests you
want me to run and I'll do them (when I have access to the system ie
during french business hours)
Comment 10 Nicolas Mailhot 2004-10-25 07:45:22 EDT
Login failure messages with rawhide pam :

Oct 25 13:43:03 ulysse login(pam_unix)[25677]: authentication failure;
logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=
Oct 25 13:43:03 ulysse login[25677]: pam_krb5[25677]: authentication
succeeds for 'nim' (nim@OLYMPE.O2T)
Oct 25 13:43:03 ulysse login[25677]: Authentication service cannot
retrieve authentication info.

[nim@ulysse ~]$ id nim
uid=500(nim) gid=500(nim) groupes=500(nim),400(one2team),401(cvs),407(sys)
Comment 11 Tomas Mraz 2004-10-25 08:29:03 EDT
Please attach your /etc/pam.d/system-auth and login files.

Also can you add debug option to the pam_stack module calls in the
/etc/pam.d/login and add line:
*.=debug               /var/log/debug
to the /etc/syslog.conf and rerun the test with the failing packages
and attach the debug log file?

Thank you.
Comment 12 Nicolas Mailhot 2004-10-25 08:43:06 EDT
Created attachment 105718 [details]
login
Comment 13 Nicolas Mailhot 2004-10-25 08:43:46 EDT
Created attachment 105719 [details]
system-auth
Comment 14 Nicolas Mailhot 2004-10-25 08:48:33 EDT
Created attachment 105720 [details]
debug traces
Comment 15 Nicolas Mailhot 2004-10-27 04:48:01 EDT
After testing your rpms pam-0.77-62 works, pam-0.77-63 and later - not
Comment 16 Tomas Mraz 2004-10-27 05:17:32 EDT
Bingo!
So I fixed a bug and it revealed another bug (this time in the pam
configuration) - could you reupgrade to pam-0.77-65 and add
broken_shadow option to the account line of pam_unix module?
If it helps I'll change authconfig to add this option when using
configuration like yours.
Thank you for the testing.
Comment 17 Tomas Mraz 2004-10-27 07:03:59 EDT
 Additional Comment #7 From Nicolas Mailhot
(Nicolas.Mailhot@laPoste.net)  on 2004-10-27 06:26 -------

With
account     required      /lib/security/$ISA/pam_unix.so broken_shadow
in
/etc/pam.d/system-auth
the rawhide login stack works. Thanks !

(not closing since the packages are not fixed yet)
Comment 20 Tomas Mraz 2004-12-08 03:44:29 EST
This is fixed in FC3 and RHEL4 packages.
Comment 21 Tomas Mraz 2004-12-14 10:17:08 EST
*** Bug 142820 has been marked as a duplicate of this bug. ***

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