shishi_kdcreq_renewable_ok_p3
Api function
Usage
#include <shishi.h>
int shishi_kdcreq_renewable_ok_p(Shishi * handle, Shishi_asn1 kdcreq);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 kdcreq
|
KDC-REQ variable to get kdc-options field from. |
Overview
Determine if KDC-Option renewable-ok flag is set.
The RENEWABLE-OK option indicates that a renewable ticket will be acceptable if a ticket with the requested life cannot otherwise be provided. If a ticket with the requested life cannot be provided, then a renewable ticket may be issued with a renew-till equal to the requested endtime. The value of the renew-till field may still be limited by local limits, or limits selected by the individual principal or server.
Return value
Returns non-0 iff renewable-ok flag is set in KDC-REQ.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.