SASL_GETCONFPATH_T(3)
π SASL_GETCONFPATH_T π
okay bestie, so we're in the Cyrus SASL part of the 3 manual, and this little cutie is called sasl_getconfpath_t π¦ no cap, it's giving "let me pick where my config files live" energy.
β¨ SYNOPSIS β¨
#include <sasl/sasl.h>
int sasl_getconfpath_t(void *context, char ** path);
πΈ DESCRIPTION πΈ
int sasl_getconfpath_t(void *context, char **path);
so literally, sasl_getconfpath_t() is the callback you reach for when your app is like "mmm I want my SASL configuration files to live somewhere else, actually" π
and if you don't use this callback? no stress, SASL has a whole backup plan, she's got options:
- she'll use the location in the environment variable
SASL_CONF_PATHβ but only provided we are not SUID or SGID π (important!! don't skip that part) - otherwise she just defaults to
/etc/sasl2π
lowkey iconic that she just figures it out for you, but also you can take the wheel if you want. main character choice fr fr.
π RETURN VALUE π
okay so SASL callback functions should return SASL return codes β peep sasl.h for the complete list, she has them all π
SASL_OKmeans success β¨ periodt.- any other return code means an error, and bestie, you gotta handle it. don't just ignore her π
π SEE ALSO π
- RFC 4422
:saslman:sasl(3)sasl_callbacks(3)
iykyk, go read them π«Ά
π AUTHOR π
The Cyrus Team π
π§ COPYRIGHT π§
1993-2016, The Cyrus Team π
and that's the whole vibe check, bestie!! this page is from Cyrus SASL version 2.1.28, dated February 18, 2022, so if you're quoting her, that's the receipts πΈπ
π¦
π¦ 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