<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — LDAP problem after installing iredmail]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic507.xml" />
	<updated>2009-12-27T12:14:03Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic507-ldap-problem-after-installing-iredmail.html</id>
		<entry>
			<title type="html"><![CDATA[Re: LDAP problem after installing iredmail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2166.html#p2166" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>iljat wrote:</cite><blockquote><p>Dec 27 13:35:12 mail01 slapd[2207]: /etc/ldap/slapd.conf: line 72: bad DN &quot;cn=vmail,dc=concept3,cd=be&quot; in by DN clause</p></blockquote></div><p>You typed a incorrect root dn during installation. You used &#039;cd=be&#039;, it SHOULD BE &#039;dc=be&#039;, not &#039;cd=&#039;.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-12-27T12:14:03Z</updated>
			<id>http://www.iredmail.org/forum/post2166.html#p2166</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[LDAP problem after installing iredmail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2165.html#p2165" />
			<content type="html"><![CDATA[<p>After installing iredmail on debian 5, I can&#039;t get the LDAP server working. I&#039;m not really familiar with LDAP, so I can&#039;t make much out of the debugging output. Hopefully you guys can get me going.</p><p>when i start slapd:<br />mail01:~# /etc/init.d/slapd start<br />Starting OpenLDAP: slapd - failed.</p><p>So i put the loglevel in slapd.conf on -1, and now this is what i get in syslog:</p><p>Dec 27 13:35:12 mail01 slapd[2207]: @(#) $OpenLDAP: slapd 2.4.11 (Nov 26 2009 09:17:06) $#012#011root@SD6-Casa:/tmp/buildd/openldap-2.4.11/debian/build/servers/slapd<br />Dec 27 13:35:12 mail01 slapd[2207]: line 72 (access to attrs=&quot;userPassword,mailForwardingAddress&quot;&nbsp; &nbsp; by anonymous&nbsp; &nbsp; auth&nbsp; &nbsp; by self&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write&nbsp; &nbsp; by dn.exact=&quot;cn=vmail,dc=concept3,cd=be&quot;&nbsp; &nbsp;read&nbsp; &nbsp; by dn.exact=&quot;cn=vmailadmin,dc=concept3,cd=be&quot;&nbsp; write&nbsp; &nbsp; by users&nbsp; &nbsp; &nbsp; &nbsp; none)<br />Dec 27 13:35:12 mail01 slapd[2207]: &gt;&gt;&gt; dnNormalize: &lt;cn=vmail,dc=concept3,cd=be&gt;<br />Dec 27 13:35:12 mail01 slapd[2207]: /etc/ldap/slapd.conf: line 72: bad DN &quot;cn=vmail,dc=concept3,cd=be&quot; in by DN clause<br />Dec 27 13:35:12 mail01 slapd[2207]: &lt;access clause&gt; ::= access to &lt;what&gt; [ by &lt;who&gt; [ &lt;access&gt; ] [ &lt;control&gt; ] ]+ #012&lt;what&gt; ::= * | dn[.&lt;dnstyle&gt;=&lt;DN&gt;] [filter=&lt;filter&gt;] [attrs=&lt;attrspec&gt;]#012&lt;attrspec&gt; ::= &lt;attrname&gt; [val[/&lt;matchingRule&gt;][.&lt;attrstyle&gt;]=&lt;value&gt;] | &lt;attrlist&gt;#012&lt;attrlist&gt; ::= &lt;attr&gt; [ , &lt;attrlist&gt; ]#012&lt;attr&gt; ::= &lt;attrname&gt; | @&lt;objectClass&gt; | !&lt;objectClass&gt; | entry | children#012&lt;who&gt; ::= [ * | anonymous | users | self | dn[.&lt;dnstyle&gt;]=&lt;DN&gt; ]#012#011[ realanonymous | realusers | realself | realdn[.&lt;dnstyle&gt;]=&lt;DN&gt; ]#012#011[dnattr=&lt;attrname&gt;]#012#011[realdnattr=&lt;attrname&gt;]#012#011[group[/&lt;objectclass&gt;[/&lt;attrname&gt;]][.&lt;style&gt;]=&lt;group&gt;]#012#011[peername[.&lt;peernamestyle&gt;]=&lt;peer&gt;] [sockname[.&lt;style&gt;]=&lt;name&gt;]#012#011[domain[.&lt;domainstyle&gt;]=&lt;domain&gt;] [sockurl[.&lt;style&gt;]=&lt;url&gt;]#012#011[dynacl/&lt;name&gt;[/&lt;options&gt;][.&lt;dynstyle&gt;][=&lt;pattern&gt;]]#012#011[ssf=&lt;n&gt;] [transport_ssf=&lt;n&gt;] [tls_ssf=&lt;n&gt;] [sasl_ssf=&lt;n&gt;]#012&lt;style&gt; ::= exact | regex | base(Object)#012&lt;dnstyle&gt; ::= base(Object) | one(level) | sub(tree) | children | exact | regex#012&lt;attrstyle&gt; ::= exact | regex | base(Object) | one(level) | sub(tree) | children#012&lt;peernamestyle&gt; ::= exact | regex | ip | ipv6 | path#012&lt;domainstyle&gt; ::= exact | regex | base(Object) | sub(tree)#012&lt;access&gt; ::= [[real]self]{&lt;level&gt;|&lt;priv&gt;}#012&lt;level&gt; ::= none|disclose|auth|compare|search|read|{write|add|delete}|manage#012&lt;priv&gt; ::= {=|+|-}{0|d|x|c|s|r|{w|a|z}|m}+#012&lt;control&gt; ::= [ stop | continue | break ]#012dynacl:#012#011&lt;name&gt;=ACI#011&lt;pattern&gt;=&lt;attrname&gt;#012<br />Dec 27 13:35:12 mail01 slapd[2207]: /etc/ldap/slapd.conf: line 72: &lt;access&gt; handler exited with 1!<br />Dec 27 13:35:12 mail01 slapd[2207]: slapd destroy: freeing system resources.<br />Dec 27 13:35:12 mail01 slapd[2207]: slapd stopped.<br />Dec 27 13:35:12 mail01 slapd[2207]: connections_destroy: nothing to destroy.</p><p>Line 72 is the &quot;by users&quot; line of this:</p><p># Set permission for LDAP attrs.<br />#<br />access to attrs=&quot;userPassword,mailForwardingAddress&quot;<br />&nbsp; &nbsp; by anonymous&nbsp; &nbsp; auth<br />&nbsp; &nbsp; by self&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write<br />&nbsp; &nbsp; by dn.exact=&quot;cn=vmail,dc=concept3,cd=be&quot;&nbsp; &nbsp;read<br />&nbsp; &nbsp; by dn.exact=&quot;cn=vmailadmin,dc=concept3,cd=be&quot;&nbsp; write<br />&nbsp; &nbsp; by users&nbsp; &nbsp; &nbsp; &nbsp; none</p>]]></content>
			<author>
				<name><![CDATA[iljat]]></name>
				<uri>http://www.iredmail.org/forum/user935.html</uri>
			</author>
			<updated>2009-12-27T11:37:51Z</updated>
			<id>http://www.iredmail.org/forum/post2165.html#p2165</id>
		</entry>
</feed>
