shishi_as_check_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_as_check_crealm β€” okay so it's an API function, bestie. That's the whole name. Iconic, brief, slays.


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_as_check_crealm(Shishi * handle, Shishi_asn1 asreq,
Shishi_asn1 asrep);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the Shishi handle, and no you can't just make one up, it has to be allocated by shishi_init(). Respect the process πŸ’…
  • Shishi_asn1 asreq β€” the request, of type AS-REQ. It's giving "asking for something" energy.
  • Shishi_asn1 asrep β€” the reply structure, of type AS-REP. The response. The answer. The text back. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this function does is verify that the fields asreq.req-body.realm and asrep.crealm contain identical realm names. Like, same realm. Matching. No cap. πŸ”₯

And this is literally one of the steps that has to be performed when you're processing an exchange of AS-REQ and AS-REP β€” see shishi_kdc_process() for more details, because that one has the whole lore. iykyk ✨


🌸 RETURN VALUE 🌸

  • Returns SHISHI_OK if successful πŸŽ‰
  • Returns SHISHI_REALM_MISMATCH whenever the realm names differ πŸ’€ (yeah, the realms were NOT matching, tragic)
  • and an error code otherwise

😭 REPORTING BUGS 😭

Found a bug? Don't suffer in silence, report bugs 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/


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.

Not me actually respecting a license for once πŸ’… fr fr, it's royalty-free and everything.

🌟 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 the main character of the docs πŸ“šβœ¨


And that's the whole page, periodt. This was the shishi_as_check_crealm(3) manual page, straight from the shishi manual, version 1.0.3 β€” thanks for reading, love u, go check your realms πŸ§šπŸ’œ