[Freeipa-users] ipactl services running, but auth not working

Sullivan, Daniel [CRI] dsullivan2 at bsd.uchicago.edu
Sat Feb 4 20:45:03 UTC 2017


I understand that there are reports from the client being unable to authenticate but what do the actual sssd logs say from the client, and from the server?  When the problem occurs just point a client to the DC directly (instead of using _srv_ for example).  Have you looked in /var/log/messages or ran dmesg on the server?  Maybe something is dying because the system is running out of memory.  Is it swapping?  High CPU load?  Is it responding to LDAP queries (see my previous email)?

I still don’t know what you are actually trying to do really (i.e. is it just password authentication with sssd, are you using smart cards, kerberized sessions, is there an AD domain involved, etc?).  IPA is a suite of different components that work together having an understanding of what you are doing and what your environment looks like is really important if you need help.

Dan

On Feb 3, 2017, at 4:11 PM, pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>> wrote:

there are reports from multiple clients being unable to authenticate.
ipactl status shows all services as running.
The problem is fixed when I 'ipactl restart'.

________________________________
From: "Sullivan, Daniel [CRI]" <dsullivan2 at bsd.uchicago.edu<mailto:dsullivan2 at bsd.uchicago.edu>>
To: pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>
Cc: Freeipa-users <freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>>
Sent: Friday, February 3, 2017 2:47 PM
Subject: Re: [Freeipa-users] ipactl services running, but auth not working

What exactly are you seeing to determine that the server is actually failing?  Is it not possible that sssd (the client) is timing out?  Will 389ds service an LDAP request, i.e. can you run

ldapsearch -D "cn=Directory Manager" -w <pw> -s base -b "cn=config" "(objectclass=*)”

What exactly are you trying to do?  Just password authentication to an sssd client?  Are you operating in a trusted AD environment?

Dan

On Feb 3, 2017, at 11:26 AM, pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>> wrote:

My problem is with the server itself seemingly not providing services even though it claims to do so. would be curious to know what to look at on freeipa server or how to inrease logging

________________________________
From: "Sullivan, Daniel [CRI]" <dsullivan2 at bsd.uchicago.edu<mailto:dsullivan2 at bsd.uchicago.edu><mailto:dsullivan2 at bsd.uchicago.edu<mailto:dsullivan2 at bsd.uchicago.edu>>>
To: pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>>
Cc: Freeipa-users <freeipa-users at redhat.com<mailto:freeipa-users at redhat.com><mailto:freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>>>
Sent: Thursday, February 2, 2017 5:16 PM
Subject: Re: [Freeipa-users] ipactl services running, but auth not working

Have you looked at the sssd logs yet?

Dan

On Feb 2, 2017, at 4:13 PM, pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>>> wrote:


We have multiple ipa servers but only one is continuously affected by the strange problem described in the subject line.
Users report not being able to login to servers that are using a specific ipa_server. Looking at this server ipactl shows
everything as RUNNING. ipactl restart fixes the issue until the next time.

My questions are:
1. What could be causing this, and what can I check.
2. What logging should I enable on the server.
3. We are currently monitoring for processes 'Running' but clearly that is not fool-proof way to check if the service is actually up.
What would be a definitive method to check if Freeipa is up and functional in all respects. I was thinking of setting up cron job
that attempts to do kinit <fakeUserid> on a client machine. The problems that I foresee with this method is caching that might give false negatives.

thanks

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org <http://freeipa.org/> <http://freeipa.org/> for more info on the project











More information about the Freeipa-users mailing list