[Freeipa-users] IPA client enrollment check

Jakub Hrozek jhrozek at redhat.com
Thu Aug 6 09:08:36 UTC 2015


On Thu, Aug 06, 2015 at 09:55:09AM +0200, Martin Kosek wrote:
> On 08/04/2015 03:10 PM, Thomas Lau wrote:
> > Does anyone know how could I check if client enrolled or not?
> > 
> > trying to automate enrollment process by using generic tool since I am
> > using Ubuntu, only ipa-client-install available.
> 
> Hello Thomas,
> 
> I am not aware of some general API/CLI for that. ipa-client-install just checks
> if there is any file in /var/lib/ipa-client/sysrestore or /etc/ipa/default.conf
> exists.
> 
> If you would like some tool to handle it better (maybe "ipa-client-install
> --is-installed"?), please file an RFE or ideally send patches, it should not be
> that difficult to implement :-)

What about kinit-ing with keytab and searching the record of the
computer account (self) in IPA?




More information about the Freeipa-users mailing list