gss_inquire_mech_for_saslname(3)

πŸ“¦
version 1.0.4 Β· 3 versions
, in alpine 3.24, debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– gss_inquire_mech_for_saslname πŸ’–

okay bestie, so this one lives in the gss manual (section 3, we love a library page ✨), and it's literally the glow-up moment where a SASL mechanism name gets matched up with its actual GSS-API mechanism OID. matchmaking, but make it Kerberos πŸŽ€


✨ NAME ✨

gss_inquire_mech_for_saslname β€” an API function, periodt πŸ’…


🌸 SYNOPSIS 🌸

#include <gss.h>

OM_uint32 gss_inquire_mech_for_saslname(OM_uint32 * minor_status, const
gss_buffer_t sasl_mech_name, gss_OID * mech_type);

like… it's giving "three arguments, one function, zero drama" 🌈


πŸ¦‹ ARGUMENTS πŸ¦‹

  • OM_uint32 * minor_status β€” (Integer, modify) the mechanism-specific status code. it comes back changed, so it's a little gossip channel for the mechanism itself πŸ’¬
  • const gss_buffer_t sasl_mech_name β€” (buffer, character-string, read) a buffer holding the SASL mechanism name. read-only, we're just looking, not touching πŸ™ˆ
  • gss_OID * mech_type β€” (OID, modify, optional) the actual mechanism used. and listen β€” the OID you get back through this parameter is a pointer to static storage, so treat it as read-only, bestie. do NOT try to free it. like, do not. specify NULL if you don't need it, no pressure 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

outputs the GSS-API mechanism OID of the mechanism that's associated with the given sasl_mech_name. that's it. that's the whole vibe ⭐


πŸ”₯ RETURNS πŸ”₯

  • GSS_S_COMPLETE β€” successful completion. we ate, no crumbs πŸ’…βœ¨
  • GSS_S_BAD_MECH β€” there is no GSS-API mechanism known as sasl_mech_name. it's giving "who is she? never heard of her" πŸ’€

πŸ’Œ REPORTING BUGS πŸ’Œ

report bugs to <bug-gss@gnu.org>.

GNU Generic Security Service home page: http://www.gnu.org/software/gss/

General help using GNU software: http://www.gnu.org/gethelp/

ngl if you found a bug, tell them, they wanna know fr fr πŸ›


Copyright Β© 2003-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.

(translation: go off, share it, just keep the receipts 🧾)


🌈 SEE ALSO 🌈

The full documentation for gss is maintained as a Texinfo manual. If the info and gss programs are properly installed at your site, the command

info gss

should give you access to the complete manual. like, the whole lore drop πŸ“š


and that's the page, bestie 🫢 this was the gss manual, version 1.0.4, page gss_inquire_mech_for_saslname(3) β€” main character energy, static storage, and absolutely no freeing of OIDs. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from