[Freeipa-users] extracting info and injecting info

Stephen Gallagher sgallagh at redhat.com
Tue Jun 14 11:48:16 UTC 2011


On Tue, 2011-06-14 at 04:18 +0000, Steven Jones wrote:
> At a high level, I just need an idea how this will/could work....
> 
> We have a centralised provisioning system that (eventually) we need to
> talk to IPA.   So the sort of things I need to extract are the
> available user groups and hosts and that then would be displayed in the
> IdM system. At that point  the user admin would create the user and
> select the groups and hosts the user can interact with...how does the
> external program query IPA? langauge? etc ? and then inject user info?

An external program can use the XLM-RPC interface to perform IPA queries
and updates. This is what the 'ipa' command-line tool does behind the
scenes.

It's not very readable, but you can take a look at
http://git.fedorahosted.org/git/?p=freeipa.git;a=blob_plain;f=API.txt;hb=HEAD to see the API specification.

There's a python API included with FreeIPA as well. See
http://git.fedorahosted.org/git/?p=freeipa.git;a=blob;f=doc/examples/python-api.py;h=60578e805fb5f2b440ba204c5adbac62e8415c2b;hb=HEAD
for an example of how to start using this API.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20110614/3600c254/attachment.sig>


More information about the Freeipa-users mailing list