shishi_kdcreq_forwarded_p(3)
π shishi_kdcreq_forwarded_p(3) π
okay bestie, welcome to the shishi manual, section 3 (that's the library functions girlies β¨). this one's a little baby function that just peeks at one single flag and tells you if it's on. tiny. adorable. let's get into it π
β¨ NAME β¨
shishi_kdcreq_forwarded_p β it's an API function, and it's here to answer one yes/no question for you π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_kdcreq_forwarded_p(Shishi * handle, Shishi_asn1 kdcreq);
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and like, it has to be the one you got fromshishi_init(). no random handles, no homemade ones, that's not the vibe πShishi_asn1 kdcreqβ the KDC-REQ variable we're pulling thekdc-optionsfield out of. that's the whole assignment bestie, that's the mission π«Ά
π DESCRIPTION π
so basically: this function determines whether the KDC-Option forwarded flag is set. yes/no. slay or not slay. that's it π
now the lore, because it matters:
the FORWARDED option is only specified in a request to the ticket-granting server, and it will only be honored if the ticket-granting ticket in the request has its FORWARDABLE bit set. both conditions, no skipping, it's giving very strict β
what does this option actually mean tho? it indicates that this is a request for forwarding π§ and the address(es) of the host from which the resulting ticket is to be valid are included in the addresses field of the request. so the addresses field is doing the heavy lifting there, don't sleep on it β¨
β RETURN VALUE β
returns non-0 iff the forwarded flag is set in KDC-REQ. non-zero = yes bestie, zero = nope π
ngl, note that "non-0" β not necessarily1. don't go comparing it to1in your code, just check truthiness, iykyk π
π REPORTING BUGS π
found a bug? tell the people, don't suffer in silence π«Ά
- report bugs to
<bug-shishi@gnu.org> - GNU Shishi home page:
http://www.gnu.org/software/shishi/ - general help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
copyright Β© 2002-2022 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. iconic behavior honestly π
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual β yes it's a whole manual, not just this little page. if the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. go read it, it's giving encyclopedia energy πβ¨
and that's the whole page!! this was shishi version 1.0.3, from the shishi 1.0.3 era, brought to you by the shishi_kdcreq_forwarded_p(3) girlies π β¨ no cap, hope your forwarded flag is exactly what you wanted it to be. bye bestie, drink water ππ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms