shishi_tkt_forwarded_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_tkt_forwarded_p(3) πŸ’–

okay bestie, welcome to the shishi manual, section 3 πŸŽ€ this one is about shishi_tkt_forwarded_p, and it's genuinely such a lil function with such a big job. let's get into it πŸ¦‹


✨ NAME ✨

shishi_tkt_forwarded_p β€” it's an API function πŸ’…


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_tkt_forwarded_p(Shishi_tkt * tkt);

✨ ARGUMENTS ✨

  • Shishi_tkt * tkt β€” this is your input variable, and it's the one holding all the ticket info 🎟️ like, that's its whole thing, it's the ticket-info carrier, respect it.

✨ DESCRIPTION ✨

so basically this function figures out if a ticket is forwarded or not. vibe check on the ticket, forwarded edition 🫢

now, the lore: the FORWARDED flag gets set by the TGS when a client rolls up presenting a ticket that has the FORWARDABLE flag set, and then asks for a forwarded ticket by specifying the FORWARDED KDC option and also supplying a set of addresses for the new ticket. iconic behaviour honestly ✨

and it's also set in all tickets that get issued based on tickets that already had the FORWARDED flag set. it just keeps going, generational forwardedness, no cap πŸ’€

application servers may choose to process FORWARDED tickets differently than non-FORWARDED tickets. so like, that's your call, server, do what feels right πŸ‘‘


✨ RETURN VALUE ✨

returns non-0 iff the forwarded flag is set in the ticket. so non-zero means yes bestie, forwarded. 0 means nope, not forwarded πŸ“


✨ REPORTING BUGS ✨

found a bug? not the vibe, but okay, 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. like, keep the receipts, periodt πŸ’œ


✨ 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, the command

info shishi

should give you access to the complete manual. go read it, it's giving main character energy πŸ“š


and that's the whole page, bestie 🌸 no notes. this was shishi version 1.0.3, section 3, shishi_tkt_forwarded_p(3) β€” love her, obsessed, bye πŸ’…βœ¨πŸŽ€