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