shishi_kdcreq_forwardable_p(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ shishi_kdcreq_forwardable_p ✨

okay bestie, we're in the shishi section of the manual (section 3, the library-call girlies πŸ’…) and today's main character is shishi_kdcreq_forwardable_p. no cap.


🌸 NAME 🌸

shishi_kdcreq_forwardable_p β€” it's an API function, babe. that's the whole vibe. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_kdcreq_forwardable_p(Shishi * handle, Shishi_asn1 kdcreq);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and it has to be the one you got from shishi_init(). no bootleg handles, fr fr.
  • Shishi_asn1 kdcreq β€” your KDC-REQ variable. this is the one we're snooping the kdc-options field out of. πŸ‘€

πŸ’œ DESCRIPTION πŸ’œ

so basically we're checking if the KDC-Option forwardable flag is set. yes/no. that's the errand. 🫢

and what does FORWARDABLE even mean, you ask? bestie, let me tell you. the FORWARDABLE option means the ticket that's about to be issued is supposed to have its forwardable flag set. iconic.

but here's the tea β˜• β€” the way that it can only be set on the initial request, OR on a subsequent request if the ticket-granting ticket it's based on is also forwardable. it's giving "you can only pass along what you were given". no forwardable TGT, no forwardable ticket. periodt. πŸ‘‘


⭐ RETURN VALUE ⭐

returns non-0 iff the forwardable flag is set in the KDC-REQ. so like, truthy = yes bestie, falsy = nope. πŸ’…


😭 REPORTING BUGS 😭

found a bug? not me manifesting that, but if it happens, report it to <bug-shishi@gnu.org>. πŸ’Œ


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. slay, and also legally binding. πŸŽ€


🌈 SEE ALSO 🌈

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

info shishi

should give you access to the complete manual. iykyk. 🧚


and that's the whole page, bestie. go forth and forward responsibly. πŸ¦‹

shishi 1.0.3 β€” written up by your girl on the shishi_kdcreq_forwardable_p(3) beat, mwah πŸ’–πŸ’…βœ¨