<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The problem was something very silly it seems
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In my /etc/rhn/rhn.conf I had the following entry
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">pam_auth_service = rhn-satellite<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">However my pam file was called /etc/pam.d/rhn_satellite<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It would be nice if rhn was able to throw an exception if it can’t read the pam file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">After change the file name to rhn_satellite everything worked fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com]
<b>On Behalf Of </b>Paul Robert Marino<br>
<b>Sent:</b> Tuesday, May 01, 2012 6:09 PM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] PAM winbind support<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Or it could be selinux you may want to check your audit log.<br>
And just incase you are not familiar with selinux the audit2allow tool along with the fixfiles tool are really simple<o:p></o:p></p>
<div>
<p class="MsoNormal">On May 1, 2012 5:42 PM, "Parsons, Aron" <<a href="mailto:parsonsa@bit-sys.com">parsonsa@bit-sys.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">It should still work fine; the 1.7 upgrade didn't break the two servers I have using winbind.  Remember that the process doing the PAM conversation is non-root unlike most other PAM-enabled services, so it may just be a simple permissions
 issue.  The likely culprit is the system keytab if you have Kerberos enabled.<br>
<br>
/aron<br>
<br>
-----Original Message-----<br>
Message: 1<br>
Date: Tue, 1 May 2012 13:46:31 -0400<br>
From: "Brown, Rodrick" <<a href="mailto:rbrown@knight.com">rbrown@knight.com</a>><br>
To: "<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>" <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br>
Subject: [Spacewalk-list] PAM winbind support<br>
Message-ID:<br>
       <<a href="mailto:C9C3C7FC93B40A4DA409F4B1ACB610991DBDFDEE7C@EXCHANGE10.global.knight.com">C9C3C7FC93B40A4DA409F4B1ACB610991DBDFDEE7C@EXCHANGE10.global.knight.com</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Does spacewalk 1.7 still support PAM w/winbind ?<br>
<br>
After doing an upgrade to 1.7 I'm getting the following error in my tomcat logs<br>
<br>
2012-05-01 13:39:07,267 [TP-Processor2] WARN  com.redhat.rhn.domain.user.legacy.UserImpl - PAM login for user User XXXXX (id 25, org_id 1) failed with error Authentication failure.<br>
<br>
I'm no longer able to login via spacewalk web with my PAM winbind setup.<br>
If I disable PAM authentication works fine.<br>
<br>
--RB<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><o:p></o:p></p>
</div>
</div>
<br>
<font face="Arial" color="Blue" size="1">Please visit our website for important disclaimers/disclosures regarding Knight’s products and services:<br>
<br>
http://knight.com/KnightEmailDisclaimer.html<br>
<br>
</font>
</body>
</html>