<div dir="ltr">I had faced a similar issue a month ago, for which I had created a ticket. <a href="https://fedorahosted.org/freeipa/ticket/4956">https://fedorahosted.org/freeipa/ticket/4956</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 5, 2015 at 7:30 AM, Alexander Bokovoy <span dir="ltr"><<a href="mailto:abokovoy@redhat.com" target="_blank">abokovoy@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 Fri, 05 Jun 2015, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Martin<br>
<br>
Thanks for updating the documenation!<br>
<br>
The suggested solution works not only my test servers, but also "in the<br>
real world". This morning I migrated the last production server (ipa host)<br>
to the new FreeIPA KDC.<br>
<br>
Just out of idle curiosity,  why is the rm -f /var/lib/sss/db/* step<br>
required on our EL 7.1 + ipa-client 4.1 boxes, but not on our older EL 6.5<br>
+ ipa-client 3.3.3 machines?<br>
<br>
Is the problem down to sssd? (on the EL 6.5 machines we are running sssd<br>
1.9.2, while on EL 7.1 we have sssd 1.12.2<br>
</blockquote></span>
I think there are more object types supported by newer SSSD versions<br>
which aren't invalidated like users or groups.<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers<br>
<br>
Chris<br>
<br>
<br>
<br>
From:   Martin Kosek <<a href="mailto:mkosek@redhat.com" target="_blank">mkosek@redhat.com</a>><br>
To:     Christopher Lamb/Switzerland/IBM@IBMCH, Rob Crittenden<br>
           <<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>>, <a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
Cc:     Jakub Hrozek <<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>><br>
Date:   05.06.2015 08:06<br>
Subject:        Re: [Freeipa-users] Fw: ssh problem with migrated FreeIPA<br>
           client on EL7.1 -->Solved<br>
<br>
<br>
<br>
On 06/04/2015 07:34 PM, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All<br>
<br>
I can now report back success (at least on my throwaway EL7.1 test VM).<br>
<br>
To switch an EL 7.1 + ipa-client 4.1 host from an old FreeIPA 3.3.3 KDC<br>
</blockquote>
to<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
a new FreeIPA 4.1 KDC 3 steps are required:<br>
<br>
1) ipa-client-install --uninstall<br>
<br>
2) rm -f /var/lib/sss/db/*<br>
<br>
3) ipa-client-install --server <a href="http://ldap.my.example.com" target="_blank">ldap.my.example.com</a> --domain<br>
</blockquote>
<a href="http://my.example.com" target="_blank">my.example.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-N<br>
<br>
Having done this, my free-ipa user successfully authenticates (e.g. ssh<br>
remote login with free-ipa user / password<br>
<br>
<br>
To switch EL 6.5 + ipa-client 3.3.3 hosts step 2) was not required.<br>
<br>
Kudos and thanks go to Rob C for suggesting step 2. (Note that the<br>
directory to be purged is /var/lib/sss/db/, not /var/lib/sssd/db/ as<br>
suggested earlier in this thread.<br>
</blockquote>
<br>
Cool! Thanks for reaching back. I added this advice to the FreeIPA<br>
Troubleshooting guide too:<br>
<br>
<a href="http://www.freeipa.org/page/Troubleshooting#Cannot_authenticate_on_client" target="_blank">http://www.freeipa.org/page/Troubleshooting#Cannot_authenticate_on_client</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers<br>
<br>
Chris<br>
<br>
<br>
<br>
<br>
From:            Martin Kosek <<a href="mailto:mkosek@redhat.com" target="_blank">mkosek@redhat.com</a>><br>
To:              Christopher Lamb/Switzerland/IBM@IBMCH,<br>
             <a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
Cc:              Jakub Hrozek <<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>>, Rob Crittenden<br>
             <<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>><br>
Date:            03.06.2015 10:39<br>
Subject:                 Re: [Freeipa-users] Fw: ssh problem with migrated<br>
</blockquote>
FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             client on EL7.1 -->Not Solved<br>
<br>
<br>
<br>
On 06/03/2015 10:30 AM, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all<br>
<br>
This is a quick(ish) note to bring everybody up to speed on this issue.<br>
Yesterday we had some private mail exchange on this issue as I did not<br>
</blockquote>
wish<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to broadcast the krb5 and ipa install logs to the user list.<br>
<br>
The basic situation is that we are in the process of migrating from an<br>
FreeIPA 3.3.3 Server (KDC) to a new FreeIPA 4.1 Server (KDC). As<br>
</blockquote>
discussed<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
in a thread some weeks ago we did not do this by replicating (as perhaps<br>
</blockquote>
we<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
should have done). Instead we migrated the users across.<br>
<br>
We have 30+ servers that are IPA clients ("Hosts" in ipa-speak) joined<br>
</blockquote></blockquote>
to<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the old KDC. We are now in the process of migrating these hosts to the<br>
</blockquote>
new<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4.1 KDC.<br>
<br>
Most of the hosts run EL 6.5 + ipa-client 3.3.3.  For all of these<br>
</blockquote>
joining<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to the new KDC was trouble free, taking a few minutes each. After<br>
</blockquote></blockquote>
joining<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the new KDC FreeIPA users authenticated properly.<br>
<br>
We also had a small number of new EL 7.1 + ipa-client 4.1 hosts that<br>
</blockquote></blockquote>
were<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
joined direct to the new 4.1 KDC, never having been joined of the 3.3.3<br>
KDC. These were also trouble free.<br>
<br>
The problem occurs with a handful of existing EL 7.1 +ipa-client 4.1<br>
</blockquote>
hosts<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
that were originally joined to the 3.3.3 KDC, and must be moved to join<br>
</blockquote>
the<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4.1 KDC.  These machines no longer authenticate valid FreeIPA users. I<br>
</blockquote>
have<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
been able to reproduce this behaviour with a freshly setup VM joined<br>
</blockquote>
first<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to the 3.3.3 KDC, then moved to the 4.1 KDC.<br>
<br>
While the errors show in the krb5 child logs indicate that the password<br>
</blockquote>
is<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
incorrect, the same user / password is happily accepted by all the other<br>
hosts.<br>
<br>
It seems that in the process of moving / migrating the EL 7.1 /<br>
</blockquote>
ipa-client<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4.1 from the old KDC to the new KDC, "something" is left behind that<br>
</blockquote>
causes<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
problems. We have seen indications in the install logs that the kinit<br>
</blockquote>
steps<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
called during ipa-client install are getting responses from the wrong<br>
</blockquote>
(old)<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
KDC, and not from the new KDC.<br>
<br>
Frustratingly. over the weekend i managed to get one of the problem EL<br>
</blockquote>
7.1<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
boxes to work. However I can't work out exactly what I was that I did<br>
</blockquote>
that<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
did the trick. However it seems that some kind of major de-install /<br>
cleanup + reinstall of the ipa-client may be needed.<br>
<br>
Rob has suggested that as part of such a cleanup I should do "rm<br>
-f /var/lib/sssd/db/*". I will test this later today and report back.<br>
<br>
Thanks to Rob, Jakub, Martin, Alexander et al for their help and<br>
suggestions so far.<br>
<br>
Chris<br>
</blockquote>
<br>
Thanks for the background. The pain you are getting is exactly the reason<br>
why<br>
migration via replication to RHEL-7.1 is a better choice :-) Please let<br>
</blockquote>
us<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
know<br>
the result, I am curious how this works out.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
From:                             Martin Kosek <<a href="mailto:mkosek@redhat.com" target="_blank">mkosek@redhat.com</a>><br>
To:                               Christopher Lamb/Switzerland/IBM@IBMCH,<br>
             <a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a>, Jakub Hrozek <<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>><br>
Date:                             03.06.2015 09:34<br>
Subject:                                  Re: [Freeipa-users] Fw: ssh problem with<br>
</blockquote></blockquote>
migrated<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             client on EL7.1 -->Not Solved<br>
<br>
<br>
<br>
On 06/02/2015 06:15 PM, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi<br>
<br>
Earlier today I setup 2 throwaway EL7.1 VMs to help narrow down the<br>
</blockquote></blockquote>
cause<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
of this problem. Let's call them HOST09 and HOST10<br>
<br>
Both are mimimum installs of EL7.1, with NTPD installed and configured.<br>
<br>
HOST09  had ipa-client 4.1 installed via yum, and was configured to use<br>
</blockquote>
our<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
new FreeIPA 4.1 server, right from the start. --> My FreeIPA user<br>
authenticates successfully against this machine.<br>
<br>
HOST10 had ipa-client 4.1 installed as a dependency of one of our<br>
</blockquote>
standard<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
config packages, and was first set to use our old FreeIPA 3.3.3 server.<br>
</blockquote>
--><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My FreeIPA user authenticates successfully. against this machine.<br>
<br>
I then de-registered HOST10 from the FreeIPA 3.1 server, and registered<br>
against the new FreeIPA 4.1 server --> My FreeIPA users does NOT<br>
authenticate successfully.<br>
<br>
This replicates well the behaviour I saw with my production servers,<br>
</blockquote>
namely<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
a) EL 7.1 hosts with ipa-client 4.1 registered directly against the new<br>
</blockquote>
4.1<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA server authenticate properly.<br>
<br>
b) EL 7.1 hosts with ipa-client 4.1 first registered against the old<br>
</blockquote>
3.3.3<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA server, then reregistered with the new 4.1 FreeIPA server do<br>
</blockquote></blockquote></blockquote>
NOT<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
authenticate properly<br>
<br>
Chris<br>
</blockquote>
<br>
Hello,<br>
<br>
This is really strange. What I do not fully understand is what is the<br>
"registration against a FreeIPA server". What server you install IPA<br>
</blockquote>
client<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
should matter if the deployment is set up properly. The host enrollment<br>
entry<br>
should simply replicate to whole infrastructure. The only thing that<br>
</blockquote></blockquote>
will<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
probably differ is sssd.conf and krb5.conf as they will have different<br>
primary<br>
server set up, based on what your DNS setup is.<br>
<br>
It rather seems that the "reregistration" is what causes the issue. It<br>
looks<br>
like something cleanup problem during the process. I will let Jakub to<br>
</blockquote>
help<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
here, I would suggest including the SSSD logs from the failed login, it<br>
</blockquote>
may<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
help.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
----- Forwarded by Christopher Lamb/Switzerland/IBM on 02.06.2015 16:52<br>
-----<br>
<br>
From:                                                              Christopher<br>
</blockquote></blockquote></blockquote>
Lamb/Switzerland/IBM@IBMCH<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To:                                                                Jakub Hrozek<br>
</blockquote></blockquote></blockquote>
<<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cc:<br>
</blockquote></blockquote></blockquote>
<a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date:                                                              02.06.2015 10:40<br>
Subject:                                                                   Re:<br>
</blockquote></blockquote></blockquote>
[Freeipa-users] Fw: ssh problem with<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
migrated<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             client on EL7.1 -->Not Solved<br>
Sent by:<br>
</blockquote></blockquote></blockquote>
<a href="mailto:freeipa-users-bounces@redhat.com" target="_blank">freeipa-users-bounces@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
Hi Jakub<br>
<br>
Yes root login works, that's how I've been getting into the box.<br>
<br>
Surprisingly, kinit with my user seems to work on that box. After<br>
</blockquote>
entering<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
my password when prompted, it returns to the commandline without error.<br>
<br>
However if I try kinit with another FreeIPA user, then instead of<br>
</blockquote>
prompting<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
for a password, it gives "Generic preauthentication failure while<br>
</blockquote></blockquote>
getting<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
initial credentials" error.<br>
<br>
Having set debug_level=10, when I try and ssh in with my FreeIPA user,<br>
</blockquote></blockquote></blockquote>
I<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
find errors like<br>
<br>
"Retrieving host .... with result: .. Matching credential not found"<br>
<br>
"Received error from KDC ... Additional pre-authentication required"<br>
<br>
"Received error from KDC... Decrypt integrity check failed"<br>
<br>
"Received error code 1432158219"<br>
<br>
Cheers<br>
<br>
Chris<br>
<br>
<br>
<br>
<br>
<br>
From:<br>
</blockquote></blockquote></blockquote>
                                    Jakub Hrozek<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To:<br>
</blockquote></blockquote></blockquote>
                                    Christopher<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Lamb/Switzerland/IBM@IBMCH<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cc:<br>
</blockquote></blockquote>
<a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date:<br>
</blockquote></blockquote></blockquote>
                                    02.06.2015 09:50<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Subject:<br>
</blockquote></blockquote></blockquote>
                                            Re:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[Freeipa-users] Fw: ssh problem with<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
migrated<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA<br>
             client on EL7.1 -->Not Solved<br>
<br>
<br>
<br>
On Tue, Jun 02, 2015 at 09:43:48AM +0200, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jakub<br>
<br>
The same user / password works with all our FreeIPA hosts - just this<br>
</blockquote></blockquote>
one<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
box is the problem. So the password should be good. Of course a type<br>
</blockquote></blockquote></blockquote></blockquote>
is<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
always possible (especially for strong passwords), but I have tried<br>
</blockquote></blockquote></blockquote>
many<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
times which should eliminate the odd password typo. The user /<br>
</blockquote></blockquote></blockquote></blockquote>
password<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
should also be good for both the old and the new FreeIPA Server.<br>
</blockquote>
<br>
Interesting, can you add debug_level=10 to the domain section of<br>
sssd.conf? Then krb5_child.log should show Kerberos tracing info<br>
including which exact KDC SSSD was talking to.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
As I can neither log in direct, or via ssh to this box with my FreeIPA<br>
user, I assume Kinit with my user won't work- i will try later in the<br>
</blockquote>
day.<br>
<br>
Well, login as a UNIX user (root) should work..<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
My working assumption is that the problem is related in some way to<br>
</blockquote></blockquote></blockquote></blockquote>
the<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
fact the host originally was a FreeIPA 3.3.3 client, updated to<br>
</blockquote></blockquote></blockquote></blockquote>
FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4.1, and switched between 2 FreeIPA servers. I am currently setting up<br>
</blockquote></blockquote></blockquote>
2<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
throwaway EL 7.1 VMs to better test this. On one I will first install<br>
3.3.3, then upgrade to 4.1. The second will have a direct install of<br>
</blockquote></blockquote></blockquote>
4.1<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
client.<br>
<br>
Cheers<br>
<br>
Chris<br>
<br>
<br>
<br>
From:<br>
</blockquote></blockquote></blockquote>
                                                                     Jakub Hrozek<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To:<br>
</blockquote></blockquote>
<a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date:<br>
</blockquote></blockquote></blockquote>
                                                                     02.06.2015 09:22<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Subject:<br>
</blockquote></blockquote></blockquote>
                                                                                     Re:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[Freeipa-users] Fw: ssh problem with<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
migrated<br>
FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             client on EL7.1 -->Not Solved<br>
Sent by:<br>
</blockquote></blockquote>
<a href="mailto:freeipa-users-bounces@redhat.com" target="_blank">freeipa-users-bounces@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
On Mon, Jun 01, 2015 at 07:35:11PM +0200, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi All<br>
<br>
Bad news.<br>
<br>
Over the weekend I was able to get the original problem EL7.1 /<br>
</blockquote></blockquote></blockquote></blockquote>
FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4.1<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
host (FreeIPA client) to authenticate FreeiPA users (my test being<br>
</blockquote></blockquote></blockquote></blockquote></blockquote>
ssh<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
remote login with FreeIPA user and password).<br>
<br>
Today I tried a second machine, and had the same problem, ssh<br>
</blockquote></blockquote>
connections<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
with FreeIPA user cause  "[sssd[krb5_child[3445]]]: Decrypt integrity<br>
</blockquote>
check<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
failed"<br>
</blockquote>
<br>
This really just means wrong password, can you kinit as that user<br>
</blockquote></blockquote></blockquote></blockquote>
using<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the same password?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Ahh I thought, I have a solution for that: just remove ipa-client and<br>
reinstall via yum, register with the new FreeIPA server ....<br>
<br>
Only with this second machine I still can't ssh in with a FreeIPA<br>
</blockquote></blockquote></blockquote></blockquote>
user.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Argg.....<br>
<br>
b.t.w, as this machine is a real physical server, I was able to try<br>
</blockquote>
logging<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
in direct with my FreeIPA user --> "Authentication Failure"<br>
<br>
I now have<br>
* a whole bunch of EL6.5 / FreeIPA 3.3.3 hosts that migrated from the<br>
</blockquote></blockquote>
old<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA server to the new without a hitch (i.e. they successfully<br>
authenticate FreeIPA users.)<br>
* one migrated EL7.1 / FreeIPA 4.1 host that I was able to migrate,<br>
</blockquote></blockquote></blockquote></blockquote>
but<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
with problems<br>
* one migrated EL7.1 / FreeIPA 4.1 host that so far defies all<br>
</blockquote></blockquote></blockquote></blockquote>
attempts<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
authenticate with a FreeIPA user<br>
* one EL7.1 / FreeIPA 4.1 host that was only ever registered with the<br>
</blockquote></blockquote>
new<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FreeIPA server, and successfully authenticates FreeIPA users.<br>
<br>
Any ideas?<br>
<br>
Chris<br>
<br>
<br>
----- Forwarded by Christopher Lamb/Switzerland/IBM on 01.06.2015<br>
</blockquote></blockquote></blockquote></blockquote>
19:17<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----<br>
<br>
From:<br>
</blockquote></blockquote></blockquote>
<br>
</blockquote></blockquote>
                                      Christopher<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Lamb/Switzerland/IBM@IBMCH<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To:<br>
</blockquote></blockquote></blockquote>
<br>
</blockquote></blockquote>
                                      Alexander Bokovoy<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<<a href="mailto:abokovoy@redhat.com" target="_blank">abokovoy@redhat.com</a>>,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             <a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
Date:<br>
</blockquote></blockquote></blockquote>
<br>
</blockquote></blockquote>
                                      30.05.2015 18:52<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Subject:<br>
</blockquote></blockquote></blockquote>
<br>
</blockquote></blockquote>
                                                              Re:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[Freeipa-users] ssh problem with<br>
migrated FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
client on<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             EL7.1 --> Solved<br>
Sent by:<br>
</blockquote></blockquote>
<a href="mailto:freeipa-users-bounces@redhat.com" target="_blank">freeipa-users-bounces@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
Hi All<br>
<br>
It gives me pleasure to report the problem is solved - a minute ago I<br>
</blockquote></blockquote>
was<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
able to login via ssh with my FreeIPA user to the problem server,<br>
</blockquote></blockquote></blockquote></blockquote>
while<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sitting on my terrace with a glass of wine!<br>
<br>
Thanks to Alexander for his helpful advice - we had some mail<br>
</blockquote></blockquote></blockquote></blockquote></blockquote>
exchange<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
outside the user list as I did not wish to broadcast content of keys,<br>
config files etc.<br>
<br>
Regardless of what I did with commands like klist, kvno everything<br>
</blockquote></blockquote>
seemed<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"ok", but I still could not ssh in. Even a ipa-getkeytab did not<br>
</blockquote></blockquote></blockquote></blockquote></blockquote>
help.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Therefore I decided to opt for brute force and (partial) ignorance. I<br>
completely uninstalled the FreeIPA client, and then reinstalled,<br>
</blockquote>
configured<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- ét voilà I could ssh in!<br>
<br>
This leaves the enigma: what caused the problem? I suspect the<br>
</blockquote></blockquote>
following:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The host is an EL 7.1, but the first FreeIPA client installed was<br>
</blockquote></blockquote>
version<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3.3.3 (installed as set of standard packages that we bung on all our<br>
servers).<br>
<br>
This worked fine to authenticate against our "old" 3.x FreeIPA<br>
</blockquote></blockquote></blockquote></blockquote></blockquote>
server,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
but<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
did not work against the "new" 4.1 FreeIPA Server.<br>
<br>
When I realised I could not ssh in, one of the first things I did was<br>
</blockquote></blockquote>
to<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
yum update the FreeIPA client from 3.3.3 to 4.1 - but that did not<br>
</blockquote></blockquote>
help.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The solution was to yum remove the FreeIPA client, then yum install<br>
</blockquote></blockquote></blockquote></blockquote>
the<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4.1<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
client.<br>
<br>
I have some more EL 7.1 servers with the FreeIPA 3.3.3 client<br>
</blockquote></blockquote>
installed,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
so<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it will be interesting to see it the problem can be reproduced.<br>
<br>
Keep up the good work,<br>
<br>
Chris<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
From:<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
                                                       Alexander Bokovoy<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<<a href="mailto:abokovoy@redhat.com" target="_blank">abokovoy@redhat.com</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To:<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
                                                       Christopher<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Lamb/Switzerland/IBM@IBMCH<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cc:<br>
</blockquote></blockquote>
<a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date:<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
                                                       29.05.2015 18:04<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Subject:<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
               Re:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[Freeipa-users] ssh problem with<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
migrated FreeIPA<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
client on<br>
             EL7.1<br>
<br>
<br>
<br>
On Fri, 29 May 2015, Christopher Lamb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi All<br>
<br>
Some weeks ago I setup a new FreeIPA 4.1.0 on an OEL 7.1 server to<br>
</blockquote></blockquote>
replace<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the existing FreeIPA 3.0.0 running on OEL 6.5, and successfully<br>
</blockquote></blockquote></blockquote>
migrated<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
across the users.<br>
<br>
We have 50 odd Servers that are FreeIPA clients. Today I started<br>
</blockquote></blockquote>
migrating<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
these one-by-one from the old FreeIPA 3.x server to the new FreeIPA<br>
</blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>
4<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
server by doing an ipa-client-install --uninstall from the old, and<br>
ipa-client-install to register with the new 4.1.0 server.<br>
<br>
Most of the FreeIPA clients are running OEL 6.5, and for these the<br>
migration process above worked perfectly. After migrating the<br>
</blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>
server,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
could ssh in with my FreeIPA user.<br>
<br>
Then I migrated an OEL 7.1 server. The migration itself seemed to<br>
</blockquote></blockquote></blockquote>
work,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
getent passwd was successful for my FreeIPA user. However when I try<br>
</blockquote></blockquote></blockquote>
and<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ssh in, my FreeIPA user / password is not accepted.<br>
<br>
Before the migration I could ssh into the problem server (though<br>
</blockquote></blockquote>
evidently<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it was using my FreeIPA user from the old FreeIPA server).<br>
<br>
I can ssh in with a local (non ldap) user, so ssh is running and<br>
</blockquote></blockquote>
working.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>From user root I can successfully su to my FreeIPA user.<br>
<br>
Further investigation showed that version of ipa-client installed<br>
</blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>
was<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3.3.3, so I yum updated this to 4.1.0.<br>
<br>
However I still cannot ssh into the OEL 7.1 box with my FreeIPA<br>
</blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>
user.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
same user continues to work for the 6.5 boxes.<br>
<br>
A colleague tried to ssh in with his FreeIPA user, and was also<br>
</blockquote></blockquote>
rejected,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
so the problem is not my user, but is probably for all FreeIPA<br>
</blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>
users.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
A failed ssh login attempt causes the following error<br>
</blockquote></blockquote>
in /var/log/messages<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[sssd[krb5_child[5393]]]: Decrypt integrity check failed<br>
</blockquote>
It means /etc/krb5.keytab contains keys from older system and SSSD<br>
picks them up.<br>
Can you show output of 'klist -kKet'?<br>
--<br>
/ Alexander Bokovoy<br>
<br>
<br>
<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>
<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>
</blockquote>
<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>
<br>
</blockquote>
<br>
<br>
<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>
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<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>
</blockquote>
<br>
-- <br>
/ Alexander Bokovoy<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>
</div></div></blockquote></div><br></div>