shishi_kdcrep_cname_set(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

✨ NAME ✨

shishi_kdcrep_cname_set β€” ok so this is an API function bestie, and it's literally the one that sets the client name field πŸ’…

This is from the shishi manual, section 3 (the library-functions girly pop section, iykyk) πŸŽ€


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcrep_cname_set(Shishi * handle, Shishi_asn1 kdcrep,
       Shishi_name_type name_type, const char * cname[]);

four arguments, one int coming back, no notes ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and no you can't just make one up, it's as allocated by shishi_init() πŸ’–
  • Shishi_asn1 kdcrep β€” a Kdcrep variable, and this is the one whose server name field we're setting. yes bestie the manpage really says "server name field" here, we don't question it, we report it 🫢
  • Shishi_name_type name_type β€” the type of principial (their spelling, not mine 😭), see Shishi_name_type, and it's usually SHISHI_NT_UNKNOWN ⭐
  • const char * cname[] β€” an input array holding the principal name 🌈

πŸ’– DESCRIPTION πŸ’–

Set the client name field in the KDC-REP. that's it, that's the whole job, and honestly? it ate πŸ’…βœ¨


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns SHISHI_OK iff successful. and if it's not SHISHI_OK... it wasn't successful, periodt πŸ’€


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, report it to <bug-shishi@gnu.org> πŸ›πŸ’Œ


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. iconic, generous, slay 🫢


🌟 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. go read it bestie, it's giving main character energy πŸ“–πŸ‘‘


ok that's the whole page, mwah πŸ’‹ this was shishi version 1.0.3, page shishi_kdcrep_cname_set(3) β€” stay hydrated, compile clean, and may all your return values be SHISHI_OK πŸ¦‹βœ¨πŸ’–