shishi_tkt_postdated_p(3)
π shishi_tkt_postdated_p(3) β the shishi girlies' guide π
okay bestie, so this one lives in the shishi manual, section 3 (library calls, the fun ones), and it's called shishi_tkt_postdated_p. yes the _p is for "predicate", she's asking a yes/no question, she's a truth-teller, a main character who only wants to know one thing π
β¨ NAME β¨
shishi_tkt_postdated_p β an API function, and yes that's the whole job description, she contains multitudes but mostly she contains a boolean πΈ
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_tkt_postdated_p(Shishi_tkt * tkt);
like look at her, one include, one call, no drama (okay a little drama, it's Kerberos) π
β¨ ARGUMENTS β¨
Shishi_tkt * tktβ your input variable, the one holding the ticket info. hand her the ticket, she'll do the vibes check on it π¦
β¨ DESCRIPTION β¨
so what we're doing here is determining whether the ticket is postdated. that's it. that's the function. she's a detective and the mystery is one (1) flag π
now let me put you on to what POSTDATED even means, because it's giving lore:
the POSTDATED flag indicates that a ticket has been postdated. the application server can check the authtime field in the ticket to see when the original authentication actually went down β like checking the timestamp on a text to see if they really sent it when they said they did, ngl π±
some services MAY choose to reject postdated tickets outright (rude but valid), or they may only accept them within a certain period after the original authentication. so there's a window, bestie, and if you miss it, that's on you π°οΈ
and here's the important part, the part where you go π: when the KDC issues a POSTDATED ticket, it will also be marked as INVALID, so that the application client MUST present the ticket to the KDC to be validated before use.
no cap, that MUST is doing heavy lifting. postdated = not usable yet. you gotta go get it stamped. periodt. π
β¨ RETURN VALUE β¨
returns non-0 iff the postdated flag is set in the ticket. so: truthy = yes she's postdated, 0 = no she is not, and that's the entire personality π
β¨ REPORTING BUGS β¨
found a bug? first of all, scream, then report it 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/
they're nice, they'll help you, go talk to them π«Ά
β¨ 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 behaviour honestly, free to copy, just keep the receipts π§Ύβ¨)
β¨ 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, she's thorough, she ate π
and that's the whole page, bestie!! this beauty is from shishi version 1.0.3, filed under shishi_tkt_postdated_p(3) β mwah, take care of her, she's fragile and also a Kerberos ticket πππ¦
π¦ 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