shishi_tkts_get_tgt(3)
π shishi_tkts_get_tgt β from the shishi manual, section 3 π
okay bestie, pull up a chair because we're getting into ticket-granting tickets and honestly? it's giving backstage pass energy. this is the shishi_tkts_get_tgt(3) page, and yes it's a whole API function, and yes we're gonna stan it. β¨
π¦ SYNOPSIS
#include <shishi.h>
Shishi_tkt * shishi_tkts_get_tgt(Shishi_tkts * tkts, Shishi_tkts_hint *
hint);
like, that's the whole vibe. two args, one ticket, let's go. π
πΈ ARGUMENTS
Shishi_tkts * tktsβ your ticket set handle, the one you got fromshishi_tkts(). this is your little collection of tickets, your purse of passes, your clutch of creds. π«ΆShishi_tkts_hint * hintβ a structure describing the characteristics of the ticket you're trying to beget. it's like a wishlist. you tell it what you want and it goes and looks. π
π DESCRIPTION
so here's the tea: this function gets you a ticket granting ticket (a TGT, obviously, iykyk) that's suitable for acquiring a ticket matching the hint. basically you hand it a hint and it goes "say less" and finds you the right TGT. π₯
specifically, it gets a TGT for the server realm in the hint structure β that's hint->serverrealm β or, if the serverrealm field is NULL, it falls back to the default realm. either way, it can result in an AS exchange. no cap. β
β οΈ heads up bestie: currently this function do not implement cross realm logic. that's the situation. that's the whole situation. π
also, real talk β this function is used by shishi_tkts_get(), which is probably what you actually want to use unless you have special needs. so like, if you're not sure, go touch shishi_tkts_get() instead. this one is for when you know exactly what you're doing. π
π RETURN VALUE
returns a ticket granting ticket if it's successful, or NULL if this function is unable to acquire one. so always check your return value, bestie, don't be out here dereferencing NULL and acting surprised. π
π§ REPORTING BUGS
found a bug? spill. 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 of them honestly. slay.) π
π 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 right there. π
and that's the page, babe. shishi_tkts_get_tgt(3) from shishi version 1.0.3 β that's the source and version, and this whole thing is the shishi_tkts_get_tgt(3) manual. mwah. π
π¦ 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