shishi_krberror_crealm(3)
β¨ NAME β¨
shishi_krberror_crealm β bestie, this is an API function π
and it's here to pull a client realm out of a KRB-ERROR. That's the whole job, she's very focused.
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_krberror_crealm(Shishi * handle, Shishi_asn1 krberror, char
** realm, size_t * realmlen);
π ARGUMENTS π
Shishi * handleβ the shishi handle, the one you got fromshishi_init(). Like, your whole session's main character. πShishi_asn1 krberrorβ the krberror, as allocated byshishi_krberror(). You gotta bring your own, she doesn't make one for you.char ** realmβ output array, and it comes with a freshly allocated name of the realm that lives inside the KRB-ERROR. Newly allocated, so that's your baby now, bestie. πΌsize_t * realmlenβ the size of that output array. Gotta know how big the vibe is. π
π DESCRIPTION π
Extract client realm from KRB-ERROR.
That's it. That's the whole thing. She finds the client realm inside your KRB-ERROR and hands it over. Lowkey iconic, highkey useful. β¨
β RETURN VALUE β
Returns SHISHI_OK iff successful. And if it's not SHISHI_OK? Then it wasn't successful, bestie, and you should probably check that. π
π REPORTING BUGS π
Found a bug? Do NOT suffer in silence, tell the people! 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.
(Yes bestie, that means you can copy and share it, 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. Run it, fr fr, it's giving full-documentation energy. πβ¨
Sign-off time, bestie: this lil page is from shishi, version1.0.3, and it's the manual page forshishi_krberror_crealm(3)β section 3, the library-call girlies' section. Go forth and extract those realms. π«Άππ¦
π¦ 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