<div dir="ltr">ok thanks.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/7 Petr Vobornik <span dir="ltr"><<a href="mailto:pvoborni@redhat.com" target="_blank">pvoborni@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02/07/2013 08:45 AM, Martin Kosek wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/07/2013 08:31 AM, James James wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Rob. I have one more question. Is it possible to add a field in the ui,<br>
and get the field's value in a custom add user hook script  ?<br>
<br>
James<br>
</blockquote></blockquote>
<br></div>
Theoretically it's possible but it requires quite good knowledge of Web UI code. It's easier to modify user page source codes. For simple edit (just textbox, no calendar widget) it may be just one line of code (in WebUI, server plugin will require more work).<div class="HOEnZb">
<div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I know that Petr Vobornik is already working in better extensibility of the UI,<br>
but that would be available in future releases. Petr, do you have any advice<br>
for James for current release?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
2013/2/7 Rob Crittenden <<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a> <mailto:<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>>><br>
<br>
     James James wrote:<br>
<br>
         Can somebody gives me some help to set krbPrincipalExpiration from the<br>
         freeipa ui ?<br>
<br>
<br>
     You can't set this in the web UI.<br>
</blockquote>
<br>
Note: You will be able to set it in the CLI/UI when ticket<br>
<a href="https://fedorahosted.org/freeipa/ticket/3306" target="_blank">https://fedorahosted.org/<u></u>freeipa/ticket/3306</a><br>
is fixed.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
     You can do it from the command line using ldapmodify with:<br>
<br>
     $ ldapmodify -x -D 'cn=Directory Manager' -W<br>
     Enter LDAP Password:<br>
     dn: uid=tuser1,cn=users,cn=__<u></u>accounts,dc=example,dc=com<br>
     changetype: modify<br>
     replace: krbPasswordExpiration<br>
     krbPasswordExpiration: 20200508032114Z<br>
<br>
     ^D<br>
</blockquote>
<br>
This would change password expiration attribute. So for account expiration, you<br>
would just need to replace krbPasswordExpiration modification above with<br>
krbPrincipalExpiration.<br>
<br>
Martin<br>
<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Petr Vobornik<br>
</font></span></blockquote></div><br></div>