shishi_kdcreq_set_cname(3)
β¨ shishi_kdcreq_set_cname β¨
okay bestie, so this is a page from the shishi manual β section 3, the library-function girlies β and today we're learning how to put a client name into a KDC-REQ. yes. that's the whole job. she's niche but she's iconic π
πΈ NAME πΈ
shishi_kdcreq_set_cname β the API function that sets the client name. that's it, that's the name, no notes π«Ά
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_kdcreq_set_cname(Shishi * handle, Shishi_asn1 kdcreq,
Shishi_name_type name_type, const char * principal);
four arguments, one include, zero drama. copy it exactly, don't freestyle it π
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character, everything goes through her πShishi_asn1 kdcreqβ the KDC-REQ variable you're setting the client name field in. this is the thing getting the glow-up.Shishi_name_type name_typeβ the type of principial (yes, that's how it's spelled in the original, we respect the typo, it's canon). seeShishi_name_typefor your options β usually you wantSHISHI_NT_UNKNOWN. usually!! not always, but usually πconst char * principalβ the input array with the principal name. this is the actual name you're putting in there π
π DESCRIPTION π
Set the client name field in the KDC-REQ.
like. that's it. that's the function. she does one thing and she does it well, no cap β¨
β RETURN VALUE β
Returns SHISHI_OK iff successful. and literally only iff successful. if you get SHISHI_OK back you may celebrate π
π REPORTING BUGS π
found a bug? not me, but if you did β 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/
fr fr, tell them. bugs don't fix themselves and they can't read your mind, bestie π
π 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.
(translation: keep the receipts, keep the notice, and you're good π«Ά)
π§ 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.
so like, if you want the full lore and not just this one page β that's where you go. iykyk πβ¨
that's the whole page, bestie. shishi version 1.0.3, section 3, shishi_kdcreq_set_cname, and she ate π
β¨
π¦ 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