shishi_kdc_sendrecv(3)
π shishi_kdc_sendrecv β the glow-up edition π
okay bestie, welcome to the shishi manual, section 3 (that's the library-functions girlies β¨). Today's main character is shishi_kdc_sendrecv, and she is so good at her job. Let's get into it π«Ά
πΈ NAME πΈ
shishi_kdc_sendrecv β it's an API function, periodt π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_kdc_sendrecv(Shishi * handle, const char * realm, const char
* indata, size_t inlen, char ** outdata, size_t * outlen);
look at her. six arguments. absolute icon π
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, the one you made withshishi_init(). your ride-or-die π¦const char * realmβ a string with the realm name. yes, the realm. that one π°const char * indataβ the packet you're sending to the KDC. the lil message βοΈsize_t inlenβ how longindatais. gotta know her measurements πchar ** outdataβ a newly allocated string holding the data the KDC sent back. brand new, freshly malloc'd, she's thriving β¨size_t * outlenβ how longoutdatais. no cap π
π DESCRIPTION π
So basically: you send a packet to the KDC for a realm, and you get the response back. That's the whole vibe π
But how does she find the KDC? Obsessed with her process, actually. The code looks for KDC addresses in this order:
- from the configuration file first π
- then by querying for SRV records for the realm π
- and finally, as a last resort, by using the realm name as a hostname π
like she will find that KDC. she always finds that KDC π
β RETURNS β
SHISHI_OKon success β slay, we ate πSHISHI_KDC_TIMEOUTif a timeout was reached β she waited, she got nothing, tragic π- or other errors, because life is unpredictable bestie π
π REPORTING BUGS π
Found a bug? not her fault but okay, tell the devs:
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/
they're nice, they'll help you out π«Ά
π 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 yes, you can copy her, 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. iykyk πβ¨
and that's the whole page bestie!! this manual is from shishi version 1.0.3, and it's the shishi_kdc_sendrecv(3) page, dated like a fine vintage π mwah, go send some 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