SHISHI_TKTS_GET_FOR_LOCALSERVICEPASSWD(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_TKTS_GET_FOR_LOCALSERVICEPASSWD πŸ’–

okay bestie, sit down, hydrate, and let me tell you about a very specific little function in the shishi library πŸ’… this is manual page shishi_tkts_get_for_localservicepasswd(3) and she is lowkey a shortcut icon, no cap ✨


🌸 NAME 🌸

shishi_tkts_get_for_localservicepasswd β€” the API function that grabs you a ticket for a local service when you already have the password lying around πŸŽ€


✨ SYNOPSIS ✨

#include <shishi.h>

Shishi_tkt * shishi_tkts_get_for_localservicepasswd(Shishi_tkts * tkts,
       const char * service, const char * passwd);

look at her. three args. very demure, very mindful πŸ¦‹


🫢 ARGUMENTS 🫢

  • Shishi_tkts * tkts β€” the ticket set handle, and it has to be one you got from shishi_tkts(). that's the receipt, keep it 🧾
  • const char * service β€” the service name you want a ticket for. like, which service, bestie, be specific πŸ’β€β™€οΈ
  • const char * passwd β€” the password for the default client principal. yes, that one. guard it with your life πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• this is a short-hand function β€” main character energy, minimal effort, maximum results πŸ’… β€” for getting a ticket to the given local service, and it's for the default principal client. that client's password? yeah, you hand it over as an argument. that's literally it, that's the whole vibe ✨

if you want the deep lore, go read shishi_tkts_get(). she's the full version, this one is just the express lane 🌈


πŸ”₯ RETURN VALUE πŸ”₯

Returns a ticket if found πŸŽ‰ or NULL otherwise 😭

fr fr, check for NULL before you start celebrating, or you WILL be humbled by a segfault and nobody wants that πŸ’€

πŸ› REPORTING BUGS πŸ›

Found a bug? not me manifesting that, but okay β€” report it to <bug-shishi@gnu.org> πŸ“¬

they're nice, they wanna help, go tell them 🫢


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. iconic, honestly β€” free to share, just keep the credit 🌟


πŸ¦‹ 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 β€” the info page is where the real lore lives 🧚


and that's the whole page, bestie πŸŽ€ this was shishi 1.0.3, landing in your terminal as shishi_tkts_get...alservicepasswd(3) β€” mwah, periodt, go get your tickets πŸ’–βœ¨πŸ‘‘