SASL_GETSIMPLE_T(3)
β¨ SASL_GETSIMPLE_T β¨
okay bestie, welcome to the Cyrus SASL</c> manual for sasl_getsimple_t β yes that's the whole name, it's giving "I didn't want a long name so I made it weird" π
πΈ SYNOPSIS πΈ
#include <sasl/sasl.h>
int sasl_getsimple_t(void *context,
int id,
const char ** result,
unsigned * len);
π¦ DESCRIPTION π¦
int sasl_getsimple_t(void *context,
int id,
const char ** result,
unsigned * len);
so like. sasl_getsimple_t is your little errand-runner that goes and grabs the simple things from the application. and by "simple things" I mean, in practice: the authentication name, the authorization name, and the realm. that's it. that's the vibe. π
Parameters (aka the cast of characters) π«Ά
- context β the SASL connection context. the lil home base for this whole convo.
- id β tells you which value is being asked for rn. possible values include:
SASL_CB_USERβ client user identity to login as πSASL_CB_AUTHNAMEβ client authentication nameSASL_CB_LANGUAGEβ comma-separated list of RFC 1766 languages πSASL_CB_CNONCEβ client-nonce (for testing mostly) π
- result β the value of the item requested. there it is. the thing. β
- len β lenth of the result. (yes, "lenth". that's what the docs say. we do not fix it. we respect it. π)
π RETURN VALUE π
SASL callback functions should return SASL return codes β go peek at sasl.h for the complete list, no cap. SASL_OK means success, and success means slay. π₯
π SEE ALSO π
RFC 4422,:saslman:sasl(3), sasl_callbacks(3), sasl_errors(3)
π AUTHOR π
The Cyrus Team. iconic behavior, honestly.
π COPYRIGHT π
1993-2016, The Cyrus Team
fr fr that's the whole page. go forth and fetch your simple things responsibly π
this has been Cyrus SASL 2.1.28, dated February 18, 2022 β mwah, bye bestie π¦β¨
π¦ where this page comes from
- alpine 3.22: cyrus-sasl-doc 2.1.28-r8 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.23: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.24: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- centos-stream 10: cyrus-sasl-devel 2.1.28-27.el10 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl-devel 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl-devel 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl-devel 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl-devel 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms