gsasl_server_ca...ck_cram_md5_set(3)
π NAME π
gsasl_server_callback_cram_md5_set β bestie, it's an API function π«Ά
Okay so quick vibe check: this is a page from the gsasl manual, and it's all about ONE little function that tells your server how to check if somebody is actually who they say they are, using CRAM-MD5. Let's get into it. β¨
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void gsasl_server_callback_cram_md5_set(Gsasl * ctx,
Gsasl_server_callback_cram_md5 cb);
That's it. That's the whole thing. Two arguments, returns nothing, void energy. π
π ARGUMENTS π
Gsasl * ctxβ your libgsasl handle. The main character of every gsasl story, honestly. πGsasl_server_callback_cram_md5 cbβ the callback function. Like, the function you're handing over so the server knows what to do. π¦
β¨ DESCRIPTION β¨
So here's the tea: you call this to specify the callback function that the server should use when it's deciding if a user is authenticated using a CRAM-MD5 challenge and response. That's the whole job. π
And if you ever need it back later? No worries, you can grab it again with gsasl_server_callback_cram_md5_get(). Iconic symmetry, fr fr. π
π DEPRECATED π
Bestie. Listen. This one is old. π
This function is part of the old callback interface. The new interface does things differently: you use gsasl_callback_set() to set the application callback, and then you use gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
So like, it still exists, it still works, but it's giving vintage. If you're writing new code, the new interface is the moment. π
π REPORTING BUGS π
Found something cursed? Tell the maintainers! Not me, I'm just the messenger. π
- 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.
(Translation: share it, remix it, whatever β 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/
And that's the page, bestie!! This one comes to you from the gsasl manual, version 1.10.0 β mwah, slay, go authenticate something. π ππ¦
π¦ 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