<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — AD integration]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic3143.xml" />
	<updated>2012-04-26T13:23:10Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic3143-ad-integration.html</id>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15406.html#p15406" />
			<content type="html"><![CDATA[<p>I &quot;solved&quot; the problem.</p><p>Dovecot only does a descendent search if base is configured like : <em>base = ou=baseOU,dc=internaldomain,dc=lan</em></p><p>In W2008 Active Directory, I set <em>baseOU</em> the same name as my company, for a better visibility.</p><p>Obviously, all users who need mails had to be in this OU, and you can create sub-OU in this OU, the search will works.</p><p>Don&#039;t have answer to the initial problem, but it&#039;s better than nothing.</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-26T13:23:10Z</updated>
			<id>http://www.iredmail.org/forum/post15406.html#p15406</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15250.html#p15250" />
			<content type="html"><![CDATA[<p>You got a working command, so please just try to configure the correct value in dovecot-ldap.conf. I don&#039;t know what i can help now.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-04-20T14:25:37Z</updated>
			<id>http://www.iredmail.org/forum/post15250.html#p15250</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15247.html#p15247" />
			<content type="html"><![CDATA[<p>This command works, for open LDAP, it find a user which is in <em>Users</em> or user which is in an OU :</p><div class="codebox"><pre><code>ldapsearch -x -b &#039;dc=mydomain,dc=lan&#039; -D &#039;MYDOMAIN\vmail&#039; -h dc.mydomain.lan -p 389 -W &quot;(&amp;(userPrincipalName=user@publicdomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))&quot;</code></pre></div><p>How to &quot;integrate&quot; it in Dovecot queries ? I&#039;m searching for this, but if you&#039;ve propositions... <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thanks <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-20T07:54:50Z</updated>
			<id>http://www.iredmail.org/forum/post15247.html#p15247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15246.html#p15246" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>It complains &quot;MYDOMAIN\vmail&quot; is a invalid DN. Did you try to use &#039;vmail&#039; instead? For example:<br /></p><div class="codebox"><pre><code># ldapsearch ... -D &#039;vmail&#039; ...</code></pre></div></blockquote></div><p>Same Error, invalid DN... Is there a config file for LDAP or something ?<br />In all cases, <em>ldapsearch</em> doesn&#039;t find my @publicdomain.fr users which are in <em>Users</em> group, vmail is in <em>Users</em> group, there&#039;s no reason <em>ldapsearch</em> find <em>vmail</em>...?</p><p>What is the role of :<br /></p><div class="codebox"><pre><code>&quot;(&amp;(userPrincipalName=user@mypublicdomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))&quot;</code></pre></div><p>I saw over Internet that everyone put there &quot;what he wants&quot;, are those arguments valid for my case ?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-20T07:09:25Z</updated>
			<id>http://www.iredmail.org/forum/post15246.html#p15246</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15236.html#p15236" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><p>ldap_bind: Invalid DN syntax (34)</p></blockquote></div><p>It complains &quot;MYDOMAIN\vmail&quot; is a invalid DN. Did you try to use &#039;vmail&#039; instead? For example:<br /></p><div class="codebox"><pre><code># ldapsearch ... -D &#039;vmail&#039; ...</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-04-19T15:59:46Z</updated>
			<id>http://www.iredmail.org/forum/post15236.html#p15236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15231.html#p15231" />
			<content type="html"><![CDATA[<p>I tried, it doesn&#039;t work. Same result with <em>-d 256</em>.<br />I tried with <em>MYDOMAIN\vmail</em> and <em>vmail@mydomain.lan</em></p><p>Here&#039;s the error :<br /></p><div class="codebox"><pre><code>ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN</code></pre></div><p>Thanks <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-19T14:45:24Z</updated>
			<id>http://www.iredmail.org/forum/post15231.html#p15231</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15230.html#p15230" />
			<content type="html"><![CDATA[<p>Does below command work for you?<br /></p><div class="codebox"><pre><code># ldapsearch -x -b &#039;dc=mydomain,dc=lan&#039; -D &#039;MYDOMAIN\vmail&#039; -W &quot;(&amp;(userPrincipalName=user@mypublicdomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))&quot;</code></pre></div><p>if not, please add &#039;-d 256&#039; after &#039;ldapsearch&#039; and try again. Paste output of both commands here please (REMOVE sensitive info before posting)</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-04-19T14:38:58Z</updated>
			<id>http://www.iredmail.org/forum/post15230.html#p15230</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15222.html#p15222" />
			<content type="html"><![CDATA[<p>For information, here&#039;s dovecot logfile when an authentication is successfull. We can see that a lot of things are missing when it doesn&#039;t work <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> :<br /></p><div class="codebox"><pre><code>Apr 19 13:18:42 auth(default): Info: new auth connection: pid=16646
Apr 19 13:18:57 auth(default): Info: client in: AUTH    1       PLAIN   service=imap    secured lip=127.0.0.1   rip=127.0.0.1   lport=143       rport=60773     resp=AHNtYXJ0aW5AZnJhbm3h5Z2VuZS5mcgBzbTEyMzQ1NiE=
Apr 19 13:18:57 auth(default): Info: ldap(user@mypublicdomain.fr,127.0.0.1): bind search: base=cn=users,dc=resfrox,dc=lan filter=(&amp;(userPrincipalName=user@mypublicdomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Apr 19 13:18:57 auth(default): Info: ldap(user@mypublicdomain.fr,127.0.0.1): result: objectClass(?unknown?)= cn(?unknown?)= sn(?unknown?)= givenName(?unknown?)= distinguishedName(?unknown?)= instanceType(?unknown?)= whenCreated(?unknown?)= whenChanged(?unknown?)= displayName(?unknown?)= uSNCreated(?unknown?)= memberOf(?unknown?)= uSNChanged(?unknown?)= name(?unknown?)= objectGUID(?unknown?)= userAccountControl(?unknown?)= badPwdCount(?unknown?)= codePage(?unknown?)= countryCode(?unknown?)= badPasswordTime(?unknown?)= lastLogoff(?unknown?)= lastLogon(?unknown?)= pwdLastSet(?unknown?)= primaryGroupID(?unknown?)= objectSid(?unknown?)= accountExpires(?unknown?)= logonCount(?unknown?)= sAMAccountName(?unknown?)= sAMAccountType(?unknown?)= userPrincipalName(?unknown?)= objectCategory(?unknown?)= dSCorePropagationData(?unknown?)= lastLogonTimestamp(?unknown?)=
Apr 19 13:18:57 auth(default): Info: client out: OK     1       user=user@mypublicdomain.fr
Apr 19 13:18:57 auth(default): Info: master in: REQUEST 2       16624   1
Apr 19 13:18:57 auth(default): Info: ldap(user@mypublicdomain.fr,127.0.0.1): user search: base=cn=users,dc=localdomain,dc=lan scope=subtree filter=(&amp;(userPrincipalName=user@mypublicdomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) fields=
Apr 19 13:18:57 auth(default): Info: ldap(user@mypublicdomain.fr,127.0.0.1): result: objectClass(?unknown?)= cn(?unknown?)= sn(?unknown?)= givenName(?unknown?)= distinguishedName(?unknown?)= instanceType(?unknown?)= whenCreated(?unknown?)= whenChanged(?unknown?)= displayName(?unknown?)= uSNCreated(?unknown?)= memberOf(?unknown?)= uSNChanged(?unknown?)= name(?unknown?)= objectGUID(?unknown?)= userAccountControl(?unknown?)= badPwdCount(?unknown?)= codePage(?unknown?)= countryCode(?unknown?)= badPasswordTime(?unknown?)= lastLogoff(?unknown?)= lastLogon(?unknown?)= pwdLastSet(?unknown?)= primaryGroupID(?unknown?)= objectSid(?unknown?)= accountExpires(?unknown?)= logonCount(?unknown?)= sAMAccountName(?unknown?)= sAMAccountType(?unknown?)= userPrincipalName(?unknown?)= objectCategory(?unknown?)= dSCorePropagationData(?unknown?)= lastLogonTimestamp(?unknown?)=
Apr 19 13:18:57 auth(default): Info: master out: USER   2       user@mypublicdomain.fr        home=/home/mail/mypublicdomain.fr/user/Maildir/       mail=maildir:/home/mail/mypublicdomain.fr/user/Maildir/
Apr 19 13:18:57 imap-login: Info: Login: user=&lt;user@mypublicdomain.fr&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Loading modules from directory: /usr/lib/dovecot/modules/imap
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Module loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Module loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Module loaded: /usr/lib/dovecot/modules/imap/lib20_autocreate_plugin.so
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Effective uid=1000, gid=1000, home=/home/mail/mypublicdomain.fr/user/Maildir/
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Quota root: name=user backend=dict args=:proxy::quotadict
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Quota rule: root=user mailbox=* bytes=0 messages=0
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Quota warning: bytes=0 (85%) messages=0 command=/usr/local/bin/dovecot-quota-warning.sh 85
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Quota warning: bytes=0 (90%) messages=0 command=/usr/local/bin/dovecot-quota-warning.sh 90
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Quota warning: bytes=0 (95%) messages=0 command=/usr/local/bin/dovecot-quota-warning.sh 95
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: dict quota: user=user@mypublicdomain.fr, uri=proxy::quotadict, noenforcing=0
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Namespace: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: maildir: data=/home/mail/mypublicdomain.fr/user/Maildir/
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: maildir++: root=/home/mail/mypublicdomain.fr/user/Maildir, index=, control=, inbox=/home/mail/mypublicdomain.fr/user/Maildir
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Namespace: type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: shared: root=, index=, control=, inbox=
Apr 19 13:18:57 IMAP(user@mypublicdomain.fr): Info: Namespace : Using permissions from /home/mail/mypublicdomain.fr/user/Maildir: mode=0700 gid=-1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-19T11:28:49Z</updated>
			<id>http://www.iredmail.org/forum/post15222.html#p15222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15221.html#p15221" />
			<content type="html"><![CDATA[<p>Here&#039;s the dovecot log file when i try telnet connexion (no error seems to worry dovecot...) :<br /></p><div class="codebox"><pre><code>Apr 19 13:01:37 auth(default): Info: new auth connection: pid=16300
Apr 19 13:01:50 auth(default): Info: client in: AUTH    1       PLAIN   service=imap    secured lip=127.0.0.1   rip=127.0.0.1   lport=143       rport=60724     resp=AHNtYXJ0aW5AZnJbmNlb3h5Z2VuZS5gBzbTEyMzQ1NiE=
Apr 19 13:01:50 auth(default): Info: ldap(user@mypublicdomain.fr,127.0.0.1): bind search: base=dc=LOCALDOMAIN,dc=lan filter=(&amp;(userPrincipalName=user@mypublicdomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))</code></pre></div><p>And the dovecot-ldap.conf :<br /></p><div class="codebox"><pre><code>hosts           = dc.mydomain.lan:389
ldap_version    = 3
auth_bind       = yes
dn              = MYDOMAIN\vmail
dnpass          = passwd_vmail
base            = dc=mydomain,dc=lan
scope           = subtree
deref           = never
user_filter     = (&amp;(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_filter     = (&amp;(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_attrs      = userPassword=password
default_pass_scheme = CRYPT
user_attrs      = =home=/home/mail/%Ld/%Ln/Maildir/,=mail=maildir:/home/mail/%Ld/%Ln/Maildir/</code></pre></div><p>The problem is, now, users I don&#039;t move to an OU, which is always in <em>&quot;Users&quot;</em> don&#039;t work since I changed <em>&quot;base&quot;</em> in <em>dovecot-ldap.conf</em>. I think <em>&quot;Users&quot;</em> group is considerate like an OU to the mail side.</p><p>Thanks <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-19T11:08:48Z</updated>
			<id>http://www.iredmail.org/forum/post15221.html#p15221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15218.html#p15218" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><p>Why does it work with <em>ldapsearch</em> command but not with dovecot ?</p></blockquote></div><p>if it works with ldapsearch, then it should work in Dovecot too.<br />Did you try to set &#039;mail_debug = yes&#039; in Dovecot, restart Dovecot, then monitor Dovecot log file?<br />Could you please paste the whole dovecot-ldap.conf? REPLACE password by &#039;xxx&#039; to hide sensitive information before posting.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-04-19T10:54:01Z</updated>
			<id>http://www.iredmail.org/forum/post15218.html#p15218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15211.html#p15211" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><p>What&#039;s the advantage of iRedAdmin with active directory configuration ?</p></blockquote></div><p>iRedAdmin doesn&#039;t work with Active Directory, sorry.<br />It works with OpenLDAP, MySQL, and PostgreSQL (will be available in next release).</p></blockquote></div></blockquote></div><p>Ok, thx for information <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-19T07:06:27Z</updated>
			<id>http://www.iredmail.org/forum/post15211.html#p15211</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15210.html#p15210" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Sure. Change &#039;base =&#039; in dovecot-ldap.conf to the one you want. For example:<br /></p><div class="codebox"><pre><code># OLD SETTING
#base           = cn=users,dc=example,dc=com

# NEW SETTING
base            = dc=example,dc=com</code></pre></div></blockquote></div><p>I&#039;ve already done this, but it doesn&#039;t work. <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p> </p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Note: Please make sure your Active Directory server is allowed to search &#039;dc=example,dc=com&#039;. As i remember, it&#039;s not allowed by default. (maybe i was wrong, just a kindly remind.)</p></blockquote></div><p>I use <a href="http://www.pctips3000.com/allow-interactive-logon-to-domain-controllers-in-windows-server-2008/">this</a> tutorial, and it doesn&#039;t work.<br />The Dovecot&#039; log said nothing, no error. But in the telnet shell, it told me</p><div class="codebox"><pre><code>* OK Waiting for authentication process to respond..</code></pre></div><p> but after a little time, I get timeout inactivity and get disconnected. I already have this &quot;error&quot; before make change in Windows Server.</p><p>I admit, I don&#039;t understand what you&#039;re talking about when you said <em>allowed to search &#039;dc=example,dc=com&#039;</em>. The problem is, I don&#039;t know what to search on Google, I understand it deals with Windows restriction but nothing more...<br />Why does it work with <em>ldapsearch</em> command but not with dovecot ?</p><p>Thnaks <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-19T06:59:44Z</updated>
			<id>http://www.iredmail.org/forum/post15210.html#p15210</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15198.html#p15198" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><p>Is there a way that dovecot, don&#039;t only search users in <em>CN=users</em> but in the whole domain ?</p></blockquote></div><p>Sure. Change &#039;base =&#039; in dovecot-ldap.conf to the one you want. For example:<br /></p><div class="codebox"><pre><code># OLD SETTING
#base           = cn=users,dc=example,dc=com

# NEW SETTING
base            = dc=example,dc=com</code></pre></div><p>Note: Please make sure your Active Directory server is allowed to search &#039;dc=example,dc=com&#039;. As i remember, it&#039;s not allowed by default. (maybe i was wrong, just a kindly remind.)</p><div class="quotebox"><cite>nicolasfo wrote:</cite><blockquote><p>What&#039;s the advantage of iRedAdmin with active directory configuration ?</p></blockquote></div><p>iRedAdmin doesn&#039;t work with Active Directory, sorry.<br />It works with OpenLDAP, MySQL, and PostgreSQL (will be available in next release).</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-04-18T15:24:58Z</updated>
			<id>http://www.iredmail.org/forum/post15198.html#p15198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post15184.html#p15184" />
			<content type="html"><![CDATA[<p>Hello all,</p><p>Today is new day, I come with 2 questions :</p><ul><li><p>Is there a way that dovecot, don&#039;t only search users in <em>CN=users</em> but in the whole domain ? <br />For example, I&#039;ve created an OU (organisationnal unit ), and put a user which &quot;worked&quot; when it was in <em>CN=users</em>. With <em>telnet</em> command, I can&#039;t log in with this account...<br />In dovecot ldap config files, I deleted <em>CN=users</em>, but it doesn&#039;t work... <br />But when I use <em>ldapsearch</em> command with this account, it works normally. So, it&#039;s a Dovecot &quot;problem&quot;, I think.</p></li><li><p>What&#039;s the advantage of iRedAdmin with active directory configuration ?</p></li></ul><p>Thanks <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>PS : I forgot the log file :<br /></p><div class="codebox"><pre><code>Apr 18 15:41:49 auth(default): Error: ldap(myuser@mydomain.fr,127.0.0.1): ldap_search((&amp;(userPrincipalName=myuser@mydomain.fr)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))) failed: No such object</code></pre></div>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-04-18T11:49:47Z</updated>
			<id>http://www.iredmail.org/forum/post15184.html#p15184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AD integration]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post14809.html#p14809" />
			<content type="html"><![CDATA[<p>I just passed the Roundcube step.</p><p>It seems all is OK, but in the Adress Book, I&#039;ve only groups (like grp_mail_test) but no users.</p><p>No errors, nowhere..</p><p>Is Adress book must show AD users ?</p><p>Thanks <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>EDIT : OK, my fault, same error than before, I must put an email adress in the user&#039;s properties.</p>]]></content>
			<author>
				<name><![CDATA[nicolasfo]]></name>
				<uri>http://www.iredmail.org/forum/user6687.html</uri>
			</author>
			<updated>2012-03-29T10:37:21Z</updated>
			<id>http://www.iredmail.org/forum/post14809.html#p14809</id>
		</entry>
</feed>
