Bug 219916
Summary: | [PATCH] RHN Satellite and pam hangs when accounts have password expired. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Jose Plans <jplans> | ||||||||||||
Component: | Server | Assignee: | Jesus M. Rodriguez <jesusr> | ||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | high | ||||||||||||||
Version: | 410 | CC: | cperry, rhn-bugs, tao | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | sat500 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2007-06-26 03:08:30 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Bug Depends On: | |||||||||||||||
Bug Blocks: | 173427, 221611 | ||||||||||||||
Attachments: |
|
Description
Jose Plans
2006-12-16 11:17:16 UTC
Created attachment 143848 [details]
patch.
Created attachment 143862 [details]
jpam-0.4-pam_conv.patch
Ok this one is cleaner and easier to evolve / adapt.
For the case default, there is a need to clean the messages.
First patch fixes the problem, this one fixes it too, but customer has not
tested it yet.
Created attachment 143866 [details]
jpam-0.4-pam_conv.patch [small fix]
Created attachment 143972 [details]
pam_conv fixing typo.
Ok tested with kerberos.
Moving to ON_QA I probably need some assistance with PAM... I keep getting Mar 26 15:08:24 fjs-0-13 rhn-satellite(pam_unix)[8121]: authentication failure; logname= uid=91 euid=91 tty= ruser= rhost= user=testLogin Mar 26 15:08:24 fjs-0-13 rhn-satellite(pam_unix)[8121]: ERROR 0:Permission denied [root@fjs-0-13 jpam-test]# export CLASSPATH=/usr/share/ant/lib/ant-nodeps.jar:/usr/share/java/jpam.jar:/usr/src/redhat/SPECS:/usr/share/java/commons-logging.jar:`pwd` [root@fjs-0-13 jpam-test]# date Thu Mar 29 10:49:19 EDT 2007 [root@fjs-0-13 jpam-test]# java SimplePam Loging start LOGIN SUCCESSFULL [root@fjs-0-13 jpam-test]# date Thu Mar 29 10:49:28 EDT 2007 [root@fjs-0-13 jpam-test]# rpm -q jpam jpam-0.4-9.rhel4 Created attachment 151202 [details]
Test case
Wes, Ok network authentication works perfectly - however you need to gain root or cap_sys_admin priviledges to open/read /etc/shadow, hence you get EPERM. Checking the documentation it is said that the PAM authentication is meant to be for networking db's such as LDAP, NIS, Kerberos. Jose waiting for webqa to come back up.. I'd rather not bustificate our only working sat on build 20 pam and rhn are working together... verified... Ok patch sent and committed upstream for JPam 1.0. * http://jpam.sourceforge.net/changes-report.html#1.0 Jose Closed for Satellite 500 Release. *** Bug 213358 has been marked as a duplicate of this bug. *** |