shishi_kdcreq_postdated_p(3)
π shishi_kdcreq_postdated_p π
okay bestie, so this one lives in the shishi manual (section 3, the library-call girlies) and it's literally just a lil vibe check for one single flag. her whole job? asking "is this postdated or not" and answering with a number. that's it. that's the gig. π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_kdcreq_postdated_p(Shishi * handle, Shishi_asn1 kdcreq);
πΈ ARGUMENTS πΈ
Shishi * handleβ the shishi handle, allocated byshishi_init(). you know her, you love her, she's the main character of every single one of these functions. πShishi_asn1 kdcreqβ the KDC-REQ variable we're pulling thekdc-optionsfield out of. she's the one we're interrogating bestie, be nice to her. π¦
π«Ά DESCRIPTION π«Ά
so like, this function determines whether the KDC-Option postdated flag is set. that's the whole thing. non-mysterious. slay.
now the tea on what that flag actually means, because it's lowkey important:
the POSTDATED option says "hey, this is a request for a postdated ticket." and the way that works is: this option will only be honored if the ticket-granting ticket it's based on has its MAY-POSTDATE flag set. no MAY-POSTDATE, no postdate, periodt.
and the resulting ticket? she also gets her INVALID flag set. π not a forever thing though β that flag may be reset by a subsequent request to the KDC, but only after the starttime in the ticket has been reached. so it's giving "pending" not "broken". β³β¨
π₯ RETURN VALUE π₯
returns non-0 iff the postdated flag is set in KDC-REQ. so like, truthy = yes bestie, falsy = no bestie. no cap.
π REPORTING BUGS π
found a bug? don't be shy, 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/
π 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.
π 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 her, she's thorough. πβ¨
ngl the whole thing is one flag check but the lore behind it ate fr fr. π
shishi version 1.0.3 β mwah, kisses, bye bestie! πππ¦πΈπ
π¦ 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