<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 2:28 PM, Stephen Berg (Contractor) <span dir="ltr"><<a href="mailto:stephen.berg.ctr@nrlssc.navy.mil" target="_blank">stephen.berg.ctr@nrlssc.navy.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm looking for a command line method to get current status on a client without having a ticket or authenticating to the IPA domain.<br>
<br>
Back in the NIS days from a client you could run "ypwhich" and be able to know if that system were bound to the NIS and which server it had bound to.  So far I can't find a way to do a similar function in FreeIPA.<br>
<br>
I'd to do this from a cron job on each client once a day.<br></blockquote></div><br></div><div class="gmail_extra">interesting. In a fast review in some domain joined hosts you could get the info in /var/lib/sss/pubconf/kdcinfo.YOUR.REALM, there you see the ip address of the kdc last contated by the host before renewing its secure channel, I guess.<br><br></div><div class="gmail_extra">The file is world readable, so you should not need any special privileges to read it.<br><br></div><div class="gmail_extra">Otherwise you would have to enable some logging in sssd (out of the box it does not log nearly anything) and parse the logs in /var/log/sssd/*<br><br></div><div class="gmail_extra">HTH<br clear="all"></div><div class="gmail_extra"><br><div class="gmail_signature">--<br>Groeten,<br>natxo</div>
</div></div>