Opened 11 years ago

Last modified 11 years ago

#40885 closed defect

cyrus-sasl2 @2.1.25_4 doesn't contain LOGIN/PLAIN mechanism — at Initial Version

Reported by: congling@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: cyrus-sasl2

Description

Compile and run the following code after install cyrus-sasl2, it would show just "EXTERNAL". But when using cyrus-sasl 2.1.26 source from ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz, it would return the following mechanism. This issue will let the svn client unable to connect to the server with LOGIN/PLAIN authentication mechanism

mech:EXTERNAL mech:APOP mech:DHX mech:WEBDAV-DIGEST mech:ANONYMOUS mech:CRAM-MD5 mech:DIGEST-MD5 mech:GSSAPI mech:LOGIN mech:NTLM mech:OTP mech:PLAIN mech:PPS mech:MS-CHAPv2 mech:SMB-NT mech:SMB-NTLMv2

source code:

#include <stdio.h> #include <sasl/sasl.h>

int main(){

const char* np; const char p; int result;

result=sasl_client_init(NULL);

/* check to see if that worked */

if (result!=SASL_OK) {

printf("failed to init\n"); return 1;

} else

printf("success to init\n");

p = sasl_global_listmech(); for (np= *p; np != NULL; np=*(++p)) {

printf("mech:%s\n",np);

}

return 0;

}

Change History (0)

Note: See TracTickets for help on using tickets.