[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cyrus-sasl
Subject:    SASL 2.1.24 RC1 - no mechanism available: security flags do not match
From:       "Rosenbaum, Larry M." <rosenbaumlm () ornl ! gov>
Date:       2009-09-16 18:09:38
Message-ID: 43C68785C2728049AF86B0ECB240A151117DC7CE74 () EXCHMB ! ornl ! gov
[Download RAW message or body]

I get the following when I try to run cyradm:

ornl71# cyradm localhost --tls
Password: (I enter the password here)
IMAP Password:  (I shouldn't get this prompt)

The log file shows the following entries:

Sep 16 11:43:55 ornl71 imap[7466]: [ID 921384 local6.debug] accepted connection
Sep 16 11:43:55 ornl71 imap[7466]: [ID 286863 local6.notice] imapd:Loading hard-coded \
                DH parameters
Sep 16 11:43:55 ornl71 imap[7466]: [ID 277171 local6.error] TLS server engine: No CA \
                file specified. Client side certs may not work
Sep 16 11:43:55 ornl71 imap[7466]: [ID 574029 local6.debug] SSL_accept() incomplete \
                -> wait
Sep 16 11:43:56 ornl71 imap[7466]: [ID 867439 local6.debug] SSL_accept() succeeded -> \
                done
Sep 16 11:43:56 ornl71 imap[7466]: [ID 379946 local6.notice] starttls: TLSv1 with \
                cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Sep 16 11:44:02 ornl71 imap[7466]: [ID 824502 local6.notice] badlogin: localhost \
[127.0.0.1] PLAIN [SASL(-4): no mechanism available: security flags do not match \
required] This doesn't happen with v2.1.22.

When I connect with Thunderbird, the log files also show that it takes two login \
attempts, although Thunderbird only prompts me once.

Sep 16 14:07:01 ornl71 imap[7600]: [ID 379946 local6.notice] starttls: TLSv1 with \
                cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Sep 16 14:07:05 ornl71 imap[7600]: [ID 824502 local6.notice] badlogin: \
rosenbaumlm42.ornl.gov [160.91.217.127] plain [SASL(-4): no mechanism available: \
                security flags do not match required]
Sep 16 14:07:08 ornl71 imap[7600]: [ID 277583 local6.notice] login: \
rosenbaumlm42.ornl.gov [160.91.217.127] lmr plaintext+TLS User logged in

name       : Cyrus IMAPD
version    : v2.3.15 2009/09/09 12:35:48
vendor     : Project Cyrus
support-url: http://cyrusimap.web.cmu.edu
os         : SunOS
os-version : 5.9
environment: Built w/Cyrus SASL 2.1.24
             Running w/Cyrus SASL 2.1.24
             Built w/Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
             Running w/Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
             Built w/OpenSSL 0.9.8j 07 Jan 2009
             Running w/OpenSSL 0.9.8j 07 Jan 2009
             Built w/zlib 1.2.3
             Running w/zlib 1.2.3
             CMU Sieve 2.3
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             idle = idled

I built Cyrus-SASL with the following config:

CC=gcc ./configure \
  --disable-cram \
  --disable-digest \
  --disable-otp \
  --disable-krb4 \
  --disable-gssapi \
  --disable-anon \
  --enable-plain \
  --with-dblib=none \
  --with-openssl=/usr/local/ssl \
  --with-saslauthd=/var/saslauthd


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:p="urn:schemas-microsoft-com:office:powerpoint" \
xmlns:a="urn:schemas-microsoft-com:office:access" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" \
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" \
xmlns:b="urn:schemas-microsoft-com:office:publisher" \
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" \
xmlns:odc="urn:schemas-microsoft-com:office:odc" \
xmlns:oa="urn:schemas-microsoft-com:office:activation" \
xmlns:html="http://www.w3.org/TR/REC-html40" \
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" \
xmlns:Repl="http://schemas.microsoft.com/repl/" \
xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" \
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" \
xmlns:ppda="http://www.passport.com/NameSpace.xsd" \
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" \
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" \
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" \
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" \
xmlns:udc="http://schemas.microsoft.com/data/udc" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" \
xmlns:ec="http://www.w3.org/2001/04/xmlenc#" \
xmlns:sp="http://schemas.microsoft.com/sharepoint/" \
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" \
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" \
xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" \
xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" \
xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" \
xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" \
xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" \
xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" \
xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" \
xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" \
xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" \
xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" \
xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" \
xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>I get the following when I try to run cyradm:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>ornl71# cyradm localhost --tls<o:p></o:p></p>

<p class=MsoNormal>Password: <span style='color:#943634'>(I enter the password
here)</span><o:p></o:p></p>

<p class=MsoNormal>IMAP Password:&nbsp; <span style='color:#943634'>(I
shouldn&#8217;t get this prompt)</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The log file shows the following entries:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Sep 16 11:43:55 ornl71 imap[7466]: [ID 921384 local6.debug]
accepted connection<o:p></o:p></p>

<p class=MsoNormal>Sep 16 11:43:55 ornl71 imap[7466]: [ID 286863 local6.notice]
imapd:Loading hard-coded DH parameters<o:p></o:p></p>

<p class=MsoNormal>Sep 16 11:43:55 ornl71 imap[7466]: [ID 277171 local6.error]
TLS server engine: No CA file specified. Client side certs may not \
work<o:p></o:p></p>

<p class=MsoNormal>Sep 16 11:43:55 ornl71 imap[7466]: [ID 574029 local6.debug]
SSL_accept() incomplete -&gt; wait<o:p></o:p></p>

<p class=MsoNormal>Sep 16 11:43:56 ornl71 imap[7466]: [ID 867439 local6.debug]
SSL_accept() succeeded -&gt; done<o:p></o:p></p>

<p class=MsoNormal>Sep 16 11:43:56 ornl71 imap[7466]: [ID 379946 local6.notice]
starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no
authentication<o:p></o:p></p>

<p class=MsoNormal>Sep 16 11:44:02 ornl71 imap[7466]: [ID 824502 local6.notice]
badlogin: localhost [127.0.0.1] PLAIN [SASL(-4): no mechanism available:
security flags do not match required]<o:p></o:p></p>

<p class=MsoNormal>This doesn&#8217;t happen with v2.1.22.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>When I connect with Thunderbird, the log files also show
that it takes two login attempts, although Thunderbird only prompts me \
once.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Sep 16 14:07:01 ornl71 imap[7600]: [ID 379946 local6.notice]
starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no
authentication<o:p></o:p></p>

<p class=MsoNormal>Sep 16 14:07:05 ornl71 imap[7600]: [ID 824502 local6.notice]
badlogin: rosenbaumlm42.ornl.gov [160.91.217.127] plain [SASL(-4): no mechanism
available: security flags do not match required]<o:p></o:p></p>

<p class=MsoNormal>Sep 16 14:07:08 ornl71 imap[7600]: [ID 277583 local6.notice]
login: rosenbaumlm42.ornl.gov [160.91.217.127] lmr plaintext+TLS User logged \
in<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Cyrus \
IMAPD<o:p></o:p></p>

<p class=MsoNormal>version&nbsp;&nbsp;&nbsp; : v2.3.15 2009/09/09 \
12:35:48<o:p></o:p></p>

<p class=MsoNormal>vendor&nbsp;&nbsp;&nbsp;&nbsp; : Project Cyrus<o:p></o:p></p>

<p class=MsoNormal>support-url: http://cyrusimap.web.cmu.edu<o:p></o:p></p>

<p class=MsoNormal>os&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \
SunOS<o:p></o:p></p>

<p class=MsoNormal>os-version : 5.9<o:p></o:p></p>

<p class=MsoNormal>environment: Built w/Cyrus SASL 2.1.24<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Running w/Cyrus SASL 2.1.24<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Built w/Sleepycat Software: Berkeley DB 4.2.52: (December&nbsp; 3, \
2003)<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Running w/Sleepycat Software: Berkeley DB 4.2.52: (December&nbsp; 3, \
2003)<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Built w/OpenSSL 0.9.8j 07 Jan 2009<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Running w/OpenSSL 0.9.8j 07 Jan 2009<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Built w/zlib 1.2.3<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Running w/zlib 1.2.3<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 CMU Sieve 2.3<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 mmap = shared<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 lock = fcntl<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 nonblock = fcntl<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 idle = idled<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I built Cyrus-SASL with the following config:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>CC=gcc ./configure \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --disable-cram \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --disable-digest \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --disable-otp \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --disable-krb4 \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --disable-gssapi \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --disable-anon \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --enable-plain \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --with-dblib=none \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --with-openssl=/usr/local/ssl \<o:p></o:p></p>

<p class=MsoNormal>&nbsp; --with-saslauthd=/var/saslauthd<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic