shishi_authorize_k5login(3)
π shishi_authorize_k5login π
okay bestie, so this one is shishi_authorize_k5login(3) β a lil API function from the shishi library, living its best life in section 3 of the manual. it's giving "am I allowed in?" energy and honestly? iconic.
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_authorize_k5login(Shishi * handle, const char * principal,
const char * authzname);
π ARGUMENTS π
Shishi * handleβ the shishi handle, bestie. you gotta allocate it withshishi_init()first, no skipping steps πconst char * principalβ a string holding the principal name you want plus the realm. like, the whole thing, not just the name part, okay? π¦const char * authznameβ the authorization name. the one we're checking up on π
πΈ DESCRIPTION πΈ
so basically it authorizes authzname against the principal you want, following the MIT/Heimdal authorization method. that's the vibe. that's the whole thing. lowkey elegant, ngl β¨
π«Ά RETURN VALUE π«Ά
- returns
1ifauthznameis authorized for services byprincipalβ slay, you're in π - returns
0otherwise β not me getting rejected by the k5login file π
π REPORTING BUGS π
found a bug? don't gatekeep, 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/
π COPYRIGHT π
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.
π 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, this command:
info shishi
should give you access to the complete manual. periodt π
and that's the whole page, bestie β¨ this lil writeup is from shishi version 1.0.3, dated alongside shishi_authorize_k5login(3) β go forth and authorize, you main character π§π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms