<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<br>
<div style="color: rgb(0, 0, 0);">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">I'm trying to use saslauthd to test "auth plain" and "auth login" authentication against our LDAP data store using the "MECH=ldap" configuration.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">When saslauthd tries to bind with the credentials, it is only sending 7 characters of the password. I've validated this by using Wireshark to examine the sasl communications. The ldap search for the user is successful
and saslauthd is finding the correct user and binding as desired. But the auth fails, obviously, because the only 7 characters of the actual (9 character) password is sent.<br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">If I use the "MECH=pam" and authenticate against a valid user (also with a password that is 9 charcaters) on the local server, the authentication is successful.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I'm running this on RHEL 7.5 with cyrus-sasl* packages that are version "<span>2.1.26-23.el7.x86_64</span>", ie:</p>
<p style="margin-top:0; margin-bottom:0"></p>
<div>cyrus-sasl-plain-2.1.26-23.el7.x86_64<br>
cyrus-sasl-2.1.26-23.el7.x86_64<br>
cyrus-sasl-gssapi-2.1.26-23.el7.x86_64<br>
cyrus-sasl-lib-2.1.26-23.el7.x86_64<br>
</div>
<div><br>
</div>
<div>I've attached my smtp.conf, saslauthd and saslauthd.conf files (with passwords redacted).</div>
<div><br>
</div>
Is there a configuration I'm missing or have I found a bug? Any suggestions as to how to get around this problem?<br>
<p></p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p></p>
<div><span style="font-size:11pt">--</span><span style="font-size:11pt"> </span>
<div><span style="font-size:11pt"></span>
<p class="x_MsoAutoSig"></p>
<span style="font-size:11pt"></span>
<div><span style="font-size:11pt"></span>
<p class="x_MsoAutoSig"><b style=""><span style="font-size:11pt">Robert G. Werner</span></b></p>
<span style="font-size:11pt"></span>
<p class="x_MsoAutoSig"><span style="font-size:11pt">Systems Administrator</span></p>
<span style="font-size:11pt"></span>
<p class="x_MsoAutoSig"><span style="font-size:14.0pt"><span style="font-size:11pt">University of California Merced,</span><span style="font-size:11pt">
</span><span style="font-size:11pt">Office of Information Technology</span></span></p>
<span style="font-size:11pt"></span><span style="font-size:14.0pt; font-family:"Calibri",sans-serif"><a href="mailto:rwerner2@ucmerced.edu" id="LPNoLP"><span style="font-size:11pt">rwerner2@ucmerced.edu</span></a><span style="font-size:11pt"> |
</span><a href="https://it.ucmerced.edu/" id="LPNoLP"><span style="font-size:11pt">it.ucmerced.edu</span></a><span style="font-size:11pt"> | 209.201.4368</span></span><span style="font-size:12pt">
</span></div>
<span style="font-size:12pt"></span><br>
<p></p>
</div>
<p></p>
</div>
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>