You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Lin Zeng (JIRA)" <ji...@apache.org> on 2017/08/09 05:51:00 UTC
[jira] [Updated] (DIRKRB-646) Add the feature of parsing time
duration for kinit tool
[ https://issues.apache.org/jira/browse/DIRKRB-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Zeng updated DIRKRB-646:
----------------------------
Attachment: DIRKRB-646-01.patch
Initial patch achieves this feature. The allowed time duration formats are:
# h:m[:s] e.g. _36:00_ -- parses as "36 hours"
# ISO-8601 e.g. _P2DT3H4M_ -- parses as "2 days, 3 hours and 4 minutes"
# number of seconds e.g. _3600_ -- parses as "1 hour"
> Add the feature of parsing time duration for kinit tool
> -------------------------------------------------------
>
> Key: DIRKRB-646
> URL: https://issues.apache.org/jira/browse/DIRKRB-646
> Project: Directory Kerberos
> Issue Type: Improvement
> Reporter: Lin Zeng
> Assignee: Lin Zeng
> Attachments: DIRKRB-646-01.patch
>
>
> By Kerberos kinit, user can use "Time duration" string (e.g. "5:30" or "5h30m") to specify ticket lifetime, renewable_life and so on.
> It's very convenient for user to take advantage of "Time duration" string, I think Kerby should has this feature.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)