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 Version 1
Reported by: | congling@… | Owned by: | jmpp@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | landonf@… | |
Port: | cyrus-sasl2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 (1)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | landonf@… added |
---|---|
Description: | modified (diff) |
Keywords: | sasl svn removed |
Milestone: | MacPorts 2.2.1 |
Owner: | changed from macports-tickets@… to jmpp@… |
Port: | cyrus-sasl2 added |
Note: See
TracTickets for help on using
tickets.