> # gsasl --client-mechanisms =>
> gsasl: initialization failure: Low-level crypto error in SASL library
>
> # gsasl --smtp -m PLAIN smtp.yandex.ru 25 =>
> gsasl: initialization failure: Low-level crypto error in SASL library
interesting, for me the result is:
# gsasl --client-mechanisms
This client supports the following mechanisms:
ANONYMOUS EXTERNAL LOGIN PLAIN SECURID NTLM DIGEST-MD5 CRAM-MD5 SCRAM-SHA-1
GSSAPI
attached is a simple gsasl test program, can you compile it, run it and
give us the result ?
# gcc sasl.c -o sasl -lgsasl && ./sasl
Thx
--
Emmanuel Bouthenot
mail: kol...@{openics,debian}.org gpg: 1024D/0x414EC36E
xmpp: [email protected] irc: kol...@{freenode,oftc}
#include <stdio.h>
#include <gsasl.h>
main() {
char *methods[] = {
"TEST", "ANONYMOUS", "EXTERNAL", "LOGIN",
"PLAIN", "SECURID", "NTLM", "DIGEST-MD5",
"CRAM-MD5", "SCRAM-SHA-1", "GSSAPI",
NULL};
Gsasl *ctx;
if (gsasl_init(&ctx) == GSASL_OK) {
int i;
for(i=0; methods[i]; i++) {
printf("%s:", methods[i]);
if (gsasl_client_support_p(ctx, methods[i])) {
printf("yes\n");
}
else {
printf("no\n");
}
}
}
else {
printf("gsasl init failed\n");
}
}