<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Done.&nbsp; Thanks for the quick help.&nbsp; I disabled the code which does the
check and this solved our problem.<br>
<div class="moz-signature">
<meta name="Title" content="Campbell McKilligan">
<meta name="Keywords" content="">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List"
 href="Campbell%20McKilligan%20Signature_files/filelist.xml">
<title>Campbell McKilligan</title>
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:"Times New Roman";
        panose-1:0 2 2 6 3 5 4 5 2 3;}
@font-face
        {font-family:Arial;
        panose-1:0 2 11 6 4 2 2 2 2 2;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
table.MsoNormalTable
        {font-size:10.0pt;
        font-family:"Times New Roman";}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><span
 style="font-size: 10pt; font-family: Arial; color: black;" lang="EN-US"><b><br>
</b></span><span
 style="font-size: 10pt; font-family: Arial; color: black;" lang="EN-US"></span></p>
</div>
</div>
Timo Sirainen wrote:
<blockquote cite="midC010278B.6CC6%25tss@iki.fi" type="cite">
  <pre wrap="">On 8.2.2006 22:50, "Campbell McKilligan"
<a class="moz-txt-link-rfc2396E" href="mailto:campbell.mckilligan@daedoha2006.com">&lt;campbell.mckilligan@daedoha2006.com&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">We're getting this error when IMAP clients attempt to authenticate using
their aliases rather than their actual username:

Feb ... dovecot: auth(default): BROKEN NSS IMPLEMENTATION: getpwnam()
lookup returned different user than was requested (campbellmckilligan !=
campbell.mckilligan).
Feb  ... dovecot: imap-login: Internal login failure:
user=&lt;campbell.mckilligan&gt;, method=plain, rip=82.148.120.110,
lip=172.20.2.2, TLS
Feb  ... dovecot: child 27345 (auth) returned error 89

For historic reasons, there is no consistency with which username in
individuals mail client.  NSS correctly returns the name that dovecot
should use for the purposes of accessing mailboxes etc.

Dovecot-0.99.14 worked fine in this regard - but since upgrading to
1.0beta3 we have this problem.  It's running on a Fedora Core 4 server.
It compiled fine with selinux enabled.

Is there a switch to control the response to this NSS behaviour?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Well, you could simply remove the check from src/auth/userdb-passwd.c.
Perhaps I could make this also optional. I'd anyway not want to remove that
check completely because nss_ldap is still not fixed.


  </pre>
</blockquote>
</body>
</html>