<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Active Directory and Dovecot PAM Authentication</title>
	<atom:link href="http://www.linuxmail.info/active-directory-dovecot-pam-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Sat, 12 Sep 2009 22:40:43 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SD</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3471</link>
		<dc:creator>SD</dc:creator>
		<pubDate>Mon, 23 Feb 2009 16:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3471</guid>
		<description>Hi there,

Nice tutorials, consultant!

Have you ever been able to build a working Dovecot + Outlook2007 SSO using cached Windows credentials?

I&#039;ve configured my dovecot server for winbind authentication. With outlook 2003, I&#039;m able to authenticate without entering the domain password in Outlook; the cached windows credentials are used during the initial NTLM exchange. 

However, with outlook 2007, things have changed and apparently cached credentials are not sent.. Users have to enter their domain password in the pop/imap password fields, which is a bit inconvenient for an SSO.

Any idea?

best regards,
SD</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Nice tutorials, consultant!</p>
<p>Have you ever been able to build a working Dovecot + Outlook2007 SSO using cached Windows credentials?</p>
<p>I&#8217;ve configured my dovecot server for winbind authentication. With outlook 2003, I&#8217;m able to authenticate without entering the domain password in Outlook; the cached windows credentials are used during the initial NTLM exchange. </p>
<p>However, with outlook 2007, things have changed and apparently cached credentials are not sent.. Users have to enter their domain password in the pop/imap password fields, which is a bit inconvenient for an SSO.</p>
<p>Any idea?</p>
<p>best regards,<br />
SD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: consultant</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3472</link>
		<dc:creator>consultant</dc:creator>
		<pubDate>Mon, 23 Feb 2009 15:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3472</guid>
		<description>Hi SD,

Are you using Vista? Try the steps below

- Close down Outlook 2007
- Go to C:\users\[user name]\AppData\Roaming\Microsoft\Protect and delete the Protect folder</description>
		<content:encoded><![CDATA[<p>Hi SD,</p>
<p>Are you using Vista? Try the steps below</p>
<p>- Close down Outlook 2007<br />
- Go to C:\users\[user name]\AppData\Roaming\Microsoft\Protect and delete the Protect folder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: consultant</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3316</link>
		<dc:creator>consultant</dc:creator>
		<pubDate>Thu, 04 Dec 2008 23:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3316</guid>
		<description>Hi rvent,

&quot;So i will have to fill up the email field for each user in the AD, correct.?&quot;

That&#039;s correct. I intentionally did it that way so I can control who gets a mail account.

&quot;I like authenticating against krb5, but since i ll have to setup ldap, cant i just use ldap for authentication as well, instead of just for user mapping..?&quot;

You can.

&quot;How bad are this LDAP persistent connections..?&quot;

I haven&#039;t tried LDAP authentication because I started with CentOS 4 but I made this article because some readers were having problems with it. I did not encounter any problems with my CentOS 4 Kerberos authentication.</description>
		<content:encoded><![CDATA[<p>Hi rvent,</p>
<p>&#8220;So i will have to fill up the email field for each user in the AD, correct.?&#8221;</p>
<p>That&#8217;s correct. I intentionally did it that way so I can control who gets a mail account.</p>
<p>&#8220;I like authenticating against krb5, but since i ll have to setup ldap, cant i just use ldap for authentication as well, instead of just for user mapping..?&#8221;</p>
<p>You can.</p>
<p>&#8220;How bad are this LDAP persistent connections..?&#8221;</p>
<p>I haven&#8217;t tried LDAP authentication because I started with CentOS 4 but I made this article because some readers were having problems with it. I did not encounter any problems with my CentOS 4 Kerberos authentication.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rvent</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3314</link>
		<dc:creator>rvent</dc:creator>
		<pubDate>Thu, 04 Dec 2008 22:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3314</guid>
		<description>Thanks...

So i will have to fill up the email field for each user in the AD, correct.?

I like authenticating against krb5, but since i ll have to setup ldap, cant i just use ldap for authentication as well, instead of just for user mapping..?

Any benefits..?

I remember that you mentioned that it authenticating with pam_krb5 doesnt require persistent connections and that allows some sort of fail-over since it can ask other ADs if some are not available, but could i just add more servers to hosts in my dovecot-ldap.conf and achieve the same results..?

How bad are this LDAP persistent connections..?

Thanks..!</description>
		<content:encoded><![CDATA[<p>Thanks&#8230;</p>
<p>So i will have to fill up the email field for each user in the AD, correct.?</p>
<p>I like authenticating against krb5, but since i ll have to setup ldap, cant i just use ldap for authentication as well, instead of just for user mapping..?</p>
<p>Any benefits..?</p>
<p>I remember that you mentioned that it authenticating with pam_krb5 doesnt require persistent connections and that allows some sort of fail-over since it can ask other ADs if some are not available, but could i just add more servers to hosts in my dovecot-ldap.conf and achieve the same results..?</p>
<p>How bad are this LDAP persistent connections..?</p>
<p>Thanks..!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: consultant</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3313</link>
		<dc:creator>consultant</dc:creator>
		<pubDate>Thu, 04 Dec 2008 21:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3313</guid>
		<description>Hi rvent,

My question is do i need to do the section named: “Postfix Active Directory/LDAP Integration” so that the mail can arrive to the final destination..?

Yes, that is correct.</description>
		<content:encoded><![CDATA[<p>Hi rvent,</p>
<p>My question is do i need to do the section named: “Postfix Active Directory/LDAP Integration” so that the mail can arrive to the final destination..?</p>
<p>Yes, that is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rvent</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3312</link>
		<dc:creator>rvent</dc:creator>
		<pubDate>Thu, 04 Dec 2008 17:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3312</guid>
		<description>Hello,

I got postfix+Dovecot working with pam+kerberos authentication and i am able to send mail by using mail clients or the console, but i am unable to receive emails. I get the following error:

postfix/smtpd[13741]: NOQUEUE: reject: ......... Recipient address rejected: User unknown in local recipient table; 

My question is do i need to do the section named: &quot;Postfix Active Directory/LDAP Integration&quot; so that the mail can arrive to the final destination..?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I got postfix+Dovecot working with pam+kerberos authentication and i am able to send mail by using mail clients or the console, but i am unable to receive emails. I get the following error:</p>
<p>postfix/smtpd[13741]: NOQUEUE: reject: &#8230;&#8230;&#8230; Recipient address rejected: User unknown in local recipient table; </p>
<p>My question is do i need to do the section named: &#8220;Postfix Active Directory/LDAP Integration&#8221; so that the mail can arrive to the final destination..?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: consultant</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3232</link>
		<dc:creator>consultant</dc:creator>
		<pubDate>Fri, 31 Oct 2008 22:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3232</guid>
		<description>Hi hamuod,

Please check /var/log/maillog to see the problem.</description>
		<content:encoded><![CDATA[<p>Hi hamuod,</p>
<p>Please check /var/log/maillog to see the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: consultant</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3231</link>
		<dc:creator>consultant</dc:creator>
		<pubDate>Fri, 31 Oct 2008 22:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3231</guid>
		<description>Hi Paul,

Nice tip. I’ve updated the text to allow case insensitive logins, thanks.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Nice tip. I’ve updated the text to allow case insensitive logins, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hamuod</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-3212</link>
		<dc:creator>hamuod</dc:creator>
		<pubDate>Mon, 27 Oct 2008 11:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-3212</guid>
		<description>Hi,
i have followed your guide as it is .

but when i do telnet i get error:

-ERR authentication Failed

and after some time it time out.

Please advise?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i have followed your guide as it is .</p>
<p>but when i do telnet i get error:</p>
<p>-ERR authentication Failed</p>
<p>and after some time it time out.</p>
<p>Please advise?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.linuxmail.info/active-directory-dovecot-pam-authentication/#comment-2118</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 24 Aug 2008 14:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mail.info/active-directory-dovecot-pam-authentication/#comment-2118</guid>
		<description>The above setup worked fine.  One issue I noticed as we went live is that users would sometimes login in all caps.  Since AD usernames are case insensitive sending the authentication for USERNAME or username are both valid.   The above setup causes a wrinkle.  USERNAME logins would be valid, but would have none of their email / folders.  And it would create /home/vmail/USERNAME directories.   Obviously, home=/home/vmail/USERNAME is not the same as home=/home/vmail/username. 

A bit of research provided a simple solution.   

userdb static {
  args = uid=501 gid=501 home=/home/vmail/%Lu
}

Will still allow case insensitive logins, but will direct them to their lower case mail folder.</description>
		<content:encoded><![CDATA[<p>The above setup worked fine.  One issue I noticed as we went live is that users would sometimes login in all caps.  Since AD usernames are case insensitive sending the authentication for USERNAME or username are both valid.   The above setup causes a wrinkle.  USERNAME logins would be valid, but would have none of their email / folders.  And it would create /home/vmail/USERNAME directories.   Obviously, home=/home/vmail/USERNAME is not the same as home=/home/vmail/username. </p>
<p>A bit of research provided a simple solution.   </p>
<p>userdb static {<br />
  args = uid=501 gid=501 home=/home/vmail/%Lu<br />
}</p>
<p>Will still allow case insensitive logins, but will direct them to their lower case mail folder.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
