SYNOPSIS

#include <shishi.h>

int shishi_kdcreq_renewable_ok_p(Shishi * handle, Shishi_asn1 kdcreq);

ARGUMENTS

Shishi * handle

shishi handle as allocated by shishi_init().

Shishi_asn1 kdcreq

KDC-REQ variable to get kdc-options field from.

DESCRIPTION

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.

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

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.

RELATED TO shishi_kdcreq_renewable_ok_p…

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.