shishi_krberror_server(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_krberror_server(3) β€” the shishi manual, bestie edition πŸ’–

okay so bestie, you've wandered into the shishi section 3 manual and found shishi_krberror_server. sit down, grab a boba, we're doing this. πŸ§‹βœ¨


🌸 NAME 🌸

shishi_krberror_server β€” it's an API function, periodt. πŸ‘‘


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_krberror_server(Shishi * handle, Shishi_asn1 krberror, char
** server, size_t * serverlen);

like, copy it exactly, i'm not kidding πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). it's giving "the whole reason anything works". πŸ’…
  • Shishi_asn1 krberror β€” the krberror, as allocated by shishi_krberror(). yes, exactly that one. πŸ¦‹
  • char ** server β€” a pointer to a freshly allocated, zero terminated string holding the server name. it can be NULL, but only if you're just trying to populate serverlen β€” iykyk. πŸ’œ
  • size_t * serverlen β€” pointer to the length of server on output, and that length does NOT include the terminating zero. it may be NULL, but only if all you want is server. pick a lane, bestie. 😭

πŸ’« DESCRIPTION πŸ’«

Return server principal name in KRB-ERROR. that's it. that's the whole thing. short and iconic. ✨


πŸ”₯ RETURN VALUE πŸ”₯

Returns SHISHI_OK iff successful. iff, bestie. that's a real word and it's doing so much heavy lifting here. πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? not you being the main character of quality assurance πŸ’€ 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. slay, and also legally binding. 🫢


πŸ‘‘ 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. (and if they're not installed... that's a you problem, bestie, no cap. 🧚)


k that's the whole page!! sending u off with the official vibes: this is the shishi manual, version 1.0.3, and it's the shishi_krberror_server(3) page specifically. mwah. go forth and parse those KRB-ERRORs. πŸ’–πŸ¦‹πŸŽ€