shishi_kdcreq_forwarded_p(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_kdcreq_forwarded_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 forwarded flag is set.

The FORWARDED option is only specified in a request to the ticket-granting server and will only be honored if the ticket-granting ticket in the request has its FORWARDABLE bit set. This option indicates that this is a request for forwarding. The address(es) of the host from which the resulting ticket is to be valid are included in the addresses field of the request.

RETURN VALUE

Returns non-0 iff forwarded 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.