shishi_tkt_ok_as_delegate_p(3)
π shishi_tkt_ok_as_delegate_p β bestie edition π
okay so this page lives in the shishi manual, section 3 (that's the library-call section, iykyk), and it's literally just one function that answers one very specific question. let's get into it π¦
β¨ NAME β¨
shishi_tkt_ok_as_delegate_p β an API function, bestie. that's it, that's the whole name. it's giving "i do one thing and i do it well" π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_tkt_ok_as_delegate_p(Shishi_tkt * tkt);
like, you pull in shishi.h and then you can call it. no cap.
π ARGUMENTS π
Shishi_tkt * tktβ the input variable holding your ticket info. this is the ticket we're gonna vibe-check. that's the whole guest list, just the one π
π DESCRIPTION π
so the whole point: this function figures out whether a ticket is ok as a delegated ticket. yes, that's really what it does. it's a yes/no girlie.
now here's the lore. the copy of the ticket flags that lives in the encrypted part of the KDC reply might have the OK-AS-DELEGATE flag set. when it is, that's the realm telling the client: "hey, per policy of the realm, the server named in this ticket has been determined to be a suitable recipient of delegation." so it's basically a little realm-issued stamp of approval β
and what does a client do with that stamp? it can use the presence of this flag to help it decide whether to delegate credentials to this server β and when we say delegate credentials, we mean either granting a proxy or handing over a forwarded ticket-granting ticket. big deal energy, fr fr.
important caveat tho: it is acceptable to ignore the value of this flag. like, you're allowed to just not care. it's a helper, not a mandate π
and one more thing for the admins in the chat: when you're setting this flag, you should consider the security and placement of the server that the service will run on, plus whether the service actually requires the use of delegated credentials. don't just set it because it looks cute. be responsible, bestie π«Ά
β RETURN VALUE β
returns non-0 iff the ok-as-delegate flag is set in the ticket. otherwise you get 0. simple as that, no crumbs π
π REPORTING BUGS π
found a bug? not me manifesting that but okay. 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. so like, go off, but 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, it's the main character of the docs fr.
and that's the whole page!! this one shipped as shishi 1.0.3, and it's the shishi_tkt_ok_as_delegate_p(3) page from the shishi manual β section 3, library calls, my beloved. mwah, study it, slay, bye π
β¨
π¦ 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