<div dir="ltr"><div>Exactly 16 hours after reboot the problem returned on both servers. What has a 16 hour timeout?<br><br></div>I set log level to 10 and got some logs, but they are long and not sure what I am looking for. I am attaching some logs ( out of sheer paranoia I have slightly sanitized them, 1.1.1.2 is the secondary IPA server, <a href="mailto:username@MY.DOMAIN.COM">username@MY.DOMAIN.COM</a> is the principle and <a href="http://endserver.my.domain.com">endserver.my.domain.com</a> is the IPA client this is happening on) <br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 1:18 AM, Jakub Hrozek <span dir="ltr"><<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Nov 06, 2014 at 09:33:35PM -0800, Michael Lasevich wrote:<br>
> For what its worth, my issue was resolved when I rebooted the server.<br>
><br>
> Restarting sssd and/or clearing it's cache did not do it, but a full reboot<br>
> seems to have done it. Something much have been cached or some temp file I<br>
> missed. Will need to look into it further as I have a number of servers yet<br>
> to be upgraded and having to reboot linux servers to do an upgrade seem<br>
> sacrilegious...<br>
<br>
</span>We need to see the krb5_child.log file ideally with a very high<br>
debug_level (10 would enable KRB5_TRACE debugging as well..)<br>
<span class=""><br>
><br>
> -M<br>
><br>
> On Thu, Nov 6, 2014 at 9:26 PM, David Taylor <<a href="mailto:david.taylor@speedcast.com">david.taylor@speedcast.com</a>><br>
> wrote:<br>
><br>
> >  As an add on, I’ve upgraded our Xen template to 6.6 and run up a new VM<br>
> > using that and it attaches to the IPA environment perfectly well, so I’m<br>
> > guessing it is an issue with the upgrade scripts.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > Best regards<br>
> ><br>
</span>> > *David Taylor*<br>
> ><br>
> >  *From:* Michael Lasevich [mailto:<a href="mailto:mlasevich@gmail.com">mlasevich@gmail.com</a>]<br>
> > *Sent:* Friday, 7 November 2014 4:00 PM<br>
> > *To:* Jakub Hrozek<br>
> > *Cc:* David Taylor; <a href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a><br>
> > *Subject:* Re: [Freeipa-users] Centos IPA Client fails after upgrade to<br>
<div class="HOEnZb"><div class="h5">> > 6.6<br>
> ><br>
> ><br>
> ><br>
> > I am seeing somewhat similar behavior once upgrading from sssd 1.9 to 1.11<br>
> > (centos 6.5 to 6.6)<br>
> ><br>
> ><br>
> ><br>
> > I seem to be able to log in via ssh, but when I use http pam service, I<br>
> > get inconsistent behavior - seems like sometimes it works and others it<br>
> > errors out (success and failure can happen within a second)<br>
> ><br>
> ><br>
> ><br>
> > In the logs I see things like:<br>
> ><br>
> ><br>
> ><br>
> > [sssd[krb5_child[15410]]]: Internal credentials cache error<br>
> ><br>
> > and<br>
> ><br>
> > authentication failure; logname= uid=48 euid=48 tty= ruser= rhost=<br>
> > user=username<br>
> > received for user username: 4 (System error)<br>
> ><br>
> > Nothing in the audit.log that I can see<br>
> ><br>
> > I am guessing this is an sssd issue but I am hoping someone here knows how<br>
> > to deal with it.<br>
> ><br>
> > IN case it matters - here is the pam config:<br>
> ><br>
> > auth        required      pam_env.so<br>
> > auth        sufficient    pam_sss.so<br>
> > auth        required      pam_deny.so<br>
> ><br>
> > account     [default=bad success=ok user_unknown=ignore] pam_sss.so<br>
> > account     required      pam_permit.so<br>
> ><br>
> > password    requisite     pam_cracklib.so try_first_pass retry=3 type=<br>
> > password    sufficient    pam_sss.so use_authtok<br>
> > password    required      pam_deny.so<br>
> ><br>
> ><br>
> ><br>
> > session     optional      pam_keyinit.so revoke<br>
> > session     required      pam_limits.so<br>
> > session     optional      pam_oddjob_mkhomedir.so<br>
> > session     [success=1 default=ignore] pam_succeed_if.so service in crond<br>
> > quiet use_uid<br>
> > session     optional      pam_sss.so<br>
> ><br>
> > -M<br>
> ><br>
> ><br>
> ><br>
> > On Wed, Nov 5, 2014 at 1:05 AM, Jakub Hrozek <<a href="mailto:jhrozek@redhat.com">jhrozek@redhat.com</a>> wrote:<br>
> ><br>
> >  On Wed, Nov 05, 2014 at 02:30:55AM +0000, David Taylor wrote:<br>
> > > Thanks for the reply. The PAM file is pretty stock for a centos build<br>
> > ><br>
> > > #%PAM-1.0<br>
> > > # This file is auto-generated.<br>
> > > # User changes will be destroyed the next time authconfig is run.<br>
> > > auth        required      pam_env.so<br>
> > > auth        sufficient    pam_unix.so nullok try_first_pass<br>
> > > auth        requisite     pam_succeed_if.so uid >= 500 quiet<br>
> > > auth        sufficient    pam_sss.so use_first_pass<br>
> > > auth        required      pam_deny.so<br>
> > ><br>
> > > account     required      pam_unix.so<br>
> > > account     sufficient    pam_localuser.so<br>
> > > account     sufficient    pam_succeed_if.so uid < 500 quiet<br>
> > > account     [default=bad success=ok user_unknown=ignore] pam_sss.so<br>
> > > account     required      pam_permit.so<br>
> > ><br>
> > > password    requisite     pam_cracklib.so try_first_pass retry=3 type=<br>
> > > password    sufficient    pam_unix.so sha512 shadow nullok<br>
> > try_first_pass use_authtok<br>
> > > password    sufficient    pam_sss.so use_authtok<br>
> > > password    required      pam_deny.so<br>
> > ><br>
> > > session     optional      pam_keyinit.so revoke<br>
> > > session     required      pam_limits.so<br>
> > > session     [success=1 default=ignore] pam_succeed_if.so service in<br>
> > crond quiet use_uid<br>
> > > session     required      pam_unix.so<br>
> > > session     optional      pam_sss.so<br>
> > ><br>
> > ><br>
> > > Best regards<br>
> > > David Taylor<br>
> ><br>
> > OK, so pam_sss is there ...<br>
> ><br>
> > And yet you see no mention of pam_sss.so in /var/log/secure ?<br>
> ><br>
> > Is this the file that was included from the service-specific PAM<br>
> > configuration?<br>
> ><br>
> ><br>
> > --<br>
> > Manage your subscription for the Freeipa-users mailing list:<br>
> > <a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
> > Go To <a href="http://freeipa.org" target="_blank">http://freeipa.org</a> for more info on the project<br>
> ><br>
> ><br>
> ><br>
</div></div></blockquote></div><br></div>