DOKK / manpages / debian 10 / shishi-doc / shishi_kdcreq_renewable_ok_p.3.en
shishi_kdcreq_renewable_ok_p(3) shishi shishi_kdcreq_renewable_ok_p(3)

shishi_kdcreq_renewable_ok_p - API function

#include <shishi.h>

int shishi_kdcreq_renewable_ok_p(Shishi * handle, Shishi_asn1 kdcreq);

shishi handle as allocated by shishi_init().
KDC-REQ variable to get kdc-options field from.

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.

Returns non-0 iff renewable-ok flag is set in KDC-REQ.

Report bugs to <bug-shishi@gnu.org>.

Copyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual.

1.0.2 shishi