shishi_kdcreq_set_cname(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 from shishi_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). see Shishi_name_type for your options β€” usually you want SHISHI_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 Β© 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 πŸ’…βœ¨