shishi_krberror_remove_sname(3)
π shishi_krberror_remove_sname β the manual page, but make it make sense π
okay bestie, welcome to shishi_krberror_remove_sname(3) β yes that's a section 3 library page, yes we're reading it for fun, no you don't have to pretend you didn't need this. it's an API function from shishi and it's honestly so chill. let's go β¨
πΈ NAME πΈ
shishi_krberror_remove_sname β it's an API function, that's the whole name, that's the whole vibe π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_krberror_remove_sname(Shishi * handle, Shishi_asn1 krberror);
like. two arguments. one int back. we love a low-maintenance icon π
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). it's the whole personality of the session fr.Shishi_asn1 krberrorβ the Krberror you're messing with, specifically the one whose server name field we're about to set. this is our main character π«Ά
π DESCRIPTION π
so what are we actually doing here? we're removing the server name field in KRB-ERROR. periodt.
but here's the tea β β it is not marked OPTIONAL in the ASN.1 profile, so we can't just... delete it and walk away. that's not how ASN.1 works, bestie, it would simply pass away. instead, what gets done is:
- set the name-type to
UNKNOWN - make sure the name-string sequence is empty
and that's it. that's the whole trick. lowkey elegant, highkey iconic β¨
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's it. if you see SHISHI_OK you ate. if you don't... well. π
π REPORTING BUGS π
found a bug? don't gatekeep it, tell the people:
- 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/
they wanna hear from you fr fr π
π 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. slay, that's a very generous license, we respect it π
π§ 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. iykyk πβ¨
and that's the page, bestie!! this was shishi 1.0.3, the shishi_krberror_remove_sname(3) manual page, and you understood every single bit of it because you're a genius and i'm so proud of you π«Άπ go forth and remove those server name fields responsibly πΈ
π¦ 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