shishi_krberror_crealm(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_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 from shishi_init(). Like, your whole session's main character. πŸ‘‘
  • Shishi_asn1 krberror β€” the krberror, as allocated by shishi_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>. πŸ“§


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, version 1.0.3, and it's the manual page for shishi_krberror_crealm(3) β€” section 3, the library-call girlies' section. Go forth and extract those realms. πŸ«ΆπŸŽ€πŸ¦‹