gsasl_server_callback_realm_set(3)
β¨ gsasl_server_callback_realm_set(3) β the gsasl girlies' guide β¨
okay so bestie, welcome to the gsasl manual π this one lives in section 3 of the gsasl manual, and it's about telling your server which realm it's repping. let's get into it π«Ά
πΈ NAME πΈ
gsasl_server_callback_realm_set β literally just an API function, no cap π
π SYNOPSIS π
#include <gsasl.h>
void gsasl_server_callback_realm_set(Gsasl * ctx,
Gsasl_server_callback_realm cb);
look at her. iconic. two args, zero drama β¨
π¦ ARGUMENTS π¦
Gsasl * ctxβ your libgsasl handle, aka the main character of this whole operation πGsasl_server_callback_realm cbβ the callback function itself. yes, the vibe. the whole point. π
π DESCRIPTION π
so what this does: you're specifying the callback function that the server uses to know which realm it serves π and like, why do we care? because the realm is what the user uses to figure out which username and password to send. it's giving "which account am I even logging into" energy, and honestly? valid π
and if you ever need it back later, no worries, you can retrieve that function with gsasl_server_callback_realm_get() π«Ά
π DEPRECATED π
okay bestie, sit down, we need to talk π
this function is part of the old callback interface. like, vintage. the new interface uses gsasl_callback_set() to set the application callback, and then uses gsasl_callback() or gsasl_property_get() to invoke that callback for certain properties β¨
so yeah β deprecated. it still works, but it's giving legacy. if you're writing new code, go hang out with the new interface instead π
π REPORTING BUGS π
found a bug? don't gatekeep, report it π
- Report bugs to <bug-gsasl@gnu.org> π§
- General guidelines for reporting bugs:
http://www.gnu.org/gethelp/ - GNU SASL home page:
http://www.gnu.org/software/gsasl/
π COPYRIGHT π
Copyright Β© 2002-2021 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. (tl;dr: free to share, just keep the receipts π§Ύβ¨)
π SEE ALSO π
the full documentation for gsasl is maintained as a Texinfo manual π if the info and gsasl programs are properly installed at your site, the command
info gsasl
should give you access to the complete manual π as an alternative you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
mwah π that's the whole page. this was gsasl version 1.10.0, and honestly? she ate. go forth and set your realm callbacks, bestie β but maybe use the new interface, iykyk ππ¦π
π¦ where this page comes from
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· 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