<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 02/08/2013 05:29 PM, It Meme wrote:
<blockquote
cite="mid:CA+h5jVw0CtnYJAp6D-P-qjeXvHXOOJa_UzgUq+6mYi9aJN8jkA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi:
<div style=""><br>
</div>
<div style="">Scenario:</div>
<div style=""><br>
</div>
<div style="">1) User is created via LDAP call to IPA (i.e.the
389 Directory Server)</div>
<div style=""><br>
</div>
<div style="">The above user will not have IPA-specific
attributes.</div>
<div style=""><br>
</div>
<div style="">Can we use the Python Library, or CLI, to modify
the account to IPA-ize it?</div>
</div>
</blockquote>
<br>
Is this an integration with the external provisioning system?<br>
Do you need to do it in real time or in batches?<br>
<br>
A simple solution that comes to mind is:<br>
to create users in a different sub tree in ipa temporarily<br>
run a cron job to inspect this area and translate the data in this
temp entry into the arguments of the CLI add user command and then
clean this temp area.<br>
ldap search > parse > ipa user-add<br>
delete processed temp entries<br>
<br>
The job can run at the cadence you think is reasonable - 30 min may
be?<br>
<br>
<blockquote
cite="mid:CA+h5jVw0CtnYJAp6D-P-qjeXvHXOOJa_UzgUq+6mYi9aJN8jkA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style=""><br>
</div>
<div style="">Thanks.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Freeipa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thank you,
Dmitri Pal
Sr. Engineering Manager for IdM portfolio
Red Hat Inc.
-------------------------------
Looking to carve out IT costs?
<a class="moz-txt-link-abbreviated" href="http://www.redhat.com/carveoutcosts/">www.redhat.com/carveoutcosts/</a>
</pre>
</body>
</html>