If you get errors like:
warning: SASL authentication failure: No worthy mechs found
send attr reason = Authentication failed: cannot SASL authenticate to server XXX[YYYY]: no mechanism available
Then the problem could be that the sasl modules are not installed. A quick 'apt-get libsasl2-modules' will solve that.
My Common Lisp and Debian blog. For more off topic rants and stuff please see my livejournal blog.
Subscribe to:
Post Comments (Atom)
13 comments:
Think you mean "apt-get install libsasl2-modules".
Well I googled you :-)
thx
Uh! You are my hero!
A quick 'apt-get libsasl2-modules' solved my problems =)
Thanks, it solved my problem too.
You really solve my problem!!
The description of
libsasl2-modules - Pluggable Authentication Modules for SASL
it is not clear for this problem.
Iam not worthy. this was perfext for me
Hi, Im from Brazil.
You solved my problem too.
I use Conectiva Linux 10. This distro recently bought by Mandrake Linux.
In Conectiva the packages that was missing are sasl2-plug-plain and sasl2-plug-login.
Very thanks!
I want to thank you as well. This solved my problem.
Hello !!!
I'm from Brazil too ... I've googled you and solved my problem with "a quick 'apt-get install libsasl2-modules'" ...
Thank you a lot !
Elvis
Thank you so much. My problem was solved.
You (and Google) solved mine too, thanks!!
(From Hungary)
Thanks, it solved my problem as well (debian unstable).
Regards from Greece,
Spiros Bolis
I realize this posting is years old, but as a SASL "user" I was growing frustrated by not having a command to find out whether my SASL modules/plugins were correctly installed with the right permissions, etc. and actually available. For those who want to know what their SASL system is actually reporting at any given time, run this:
#include <stdio.h>
#include <stdlib.h>
#include <sasl/sasl.h>
int main() {
if (SASL_OK == sasl_client_init(NULL)) {
const char ** list = sasl_global_listmech();
if (list != NULL) {
fprintf(stdout, "Available SASL mechs:\n");
int pos;
for (pos = 0; list[pos] != NULL; pos += 1) {
fprintf(stdout, "\t%s\n", list[pos]);
}
return EXIT_SUCCESS;
} else {
fprintf(stderr, "No mechanisms available!\n");
return EXIT_FAILURE;
}
} else {
fprintf(stderr, "SASL init failed\n");
return EXIT_FAILURE;
}
}
Post a Comment