[MacPorts] #40885: cyrus-sasl2 @2.1.25_4 doesn't contain LOGIN/PLAIN mechanism
MacPorts
noreply at macports.org
Wed Oct 23 22:35:52 PDT 2013
#40885: cyrus-sasl2 @2.1.25_4 doesn't contain LOGIN/PLAIN mechanism
------------------------+--------------------------------
Reporter: congling@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 2.2.1
Component: ports | Version: 2.2.0
Keywords: sasl svn | Port:
------------------------+--------------------------------
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;
}
--
Ticket URL: <https://trac.macports.org/ticket/40885>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list