<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>I have
successfully used dovecot 1.0 Beta 9 to do SASL authentication for postfix
using the unix passwd/shadow files. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006> I need to
authenticate with a windows 2003 server using active directory. My system
does not support PAM (I'm using slackware) so I cannot take that
route. I do not need to use dovecot for POP or IMAP at the present time
and so I would like to avoid modifying my active directory
schema.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>Dovecot seems to be
communicating with the active directory server, however it is sending an
authentication failure to postfix: </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006> postfix/smtpd[24540]: warning:
unknown[XXX.XXX.XXX.X]: SASL LOGIN authentication failed:
UxxvcmxxQ6</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>I don't see any
messages in the log from dovecot.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>Here is my
dovecot-ldap.conf:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>hosts =
192.168.1.2:389</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>dn =
"cn=dovecot,cn=Users,dc=DOM,dc=local"</SPAN></FONT><FONT face=Arial size=2><SPAN
class=408290418-15062006><BR>dnpass = "password"</SPAN></FONT><FONT face=Arial
size=2><SPAN class=408290418-15062006><BR>auth_bind = yes</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>ldap_version =
3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>base =
cn=Users,dc=DOM,dc=local</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>deref =
never</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>scope =
subtree</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>default_pass_scheme
= CRYPT</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>user_global_uid =
900</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>user_global_gid =
900</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>Can someone point
out what I am missing? I can't find documentation on this type of
setup.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>Thanks in
advance.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=408290418-15062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=408290418-15062006>B
Hatoum</SPAN></FONT></DIV></BODY></HTML>