shishi_kdc_sendrecv_hint(3)
π shishi_kdc_sendrecv_hint π
okay bestie, so this is a page from the shishi manual, section 3 β it's a library function, not a command you type in your shell, so no cap, you're calling this from C code. it's called shishi_kdc_sendrecv_hint and it's literally the "go talk to the KDC and come back with the tea" function. let's get into it π«Ά
β¨ NAME β¨
shishi_kdc_sendrecv_hint β it's an API function, periodt.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_kdc_sendrecv_hint(Shishi * handle, const char * realm, const
char * indata, size_t inlen, char ** outdata, size_t * outlen,
Shishi_tkts_hint * hint);
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, and you gotta make it withshishi_init()first, bestie, don't skip that step πconst char * realmβ a string holding the realm name.const char * indataβ the packet you're sending over to the KDC.size_t inlenβ how longindatais.char ** outdataβ a newly allocated string with the data that came back from the KDC. fresh out the oven β¨size_t * outlenβ how longoutdatais.Shishi_tkts_hint * hintβ aShishi_tkts_hintstructure with flags in it.
π¦ DESCRIPTION π¦
so what it does is: it sends a packet to the KDC for the realm, and receives the response back. that's the whole vibe. π
and the way it hunts down KDC addresses? it's giving detective energy, in this exact order:
- it finds KDC addresses from the configuration file,
- then by querying for SRV records for the realm,
- and finally by just using the realm name as a hostname.
like, plan A, plan B, plan C. she's resourceful. π
β RETURNS β
SHISHI_OKon success β we love a happy ending πSHISHI_KDC_TIMEOUTif a timeout was reached β rip, she waited and nobody answered π- or other errors.
π 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.
(so like, keep the receipt, that's all she asks π§Ύ)
π 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, then this command:
info shishi
should give you access to the complete manual. iykyk πβ¨
and that's the whole page, bestie!! this was pulled from shishi version 1.0.3 β that's the source and version, so you know exactly which era of the manual you're reading. slay, go forth, send those packets ππ
π¦ 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