<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Unable to create new user for domain -ldap error]]></title>
		<link>http://www.iredmail.org/forum/topic139-unable-to-create-new-user-for-domain-ldap-error.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic139.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Unable to create new user for domain -ldap error.]]></description>
		<lastBuildDate>Wed, 22 Jul 2009 16:44:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post724.html#p724</link>
			<description><![CDATA[<p>I guess you can reference <a href="http://www.iredmail.org/forum/post723.html#p723">http://www.iredmail.org/forum/post723.html#p723</a> as it seems to be the same problem I am having. I am grabbing my logs now.</p>]]></description>
			<author><![CDATA[null@example.com (morrisonmd)]]></author>
			<pubDate>Wed, 22 Jul 2009 16:44:17 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post724.html#p724</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post722.html#p722</link>
			<description><![CDATA[<p>In addition to the unable to login, I checked the postmaster mailbox and the welcome email for the user has bounced back.</p>]]></description>
			<author><![CDATA[null@example.com (morrisonmd)]]></author>
			<pubDate>Wed, 22 Jul 2009 16:30:35 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post722.html#p722</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post721.html#p721</link>
			<description><![CDATA[<p>I figgured I&#039;d just do a re install, got it working with MySQL this time, now my only problem is I created additional users, imported them into the database via phpmyadmin, but the users cannot login to webmail.</p><p>Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (morrisonmd)]]></author>
			<pubDate>Wed, 22 Jul 2009 16:23:21 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post721.html#p721</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post713.html#p713</link>
			<description><![CDATA[<p>Are you sure your iRedMail installed success?<br />If you use openldap as backend, it should be already installed and configured.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 22 Jul 2009 02:26:33 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post713.html#p713</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post712.html#p712</link>
			<description><![CDATA[<p>ok was missing the openldap-servers library, installed that.</p><p>Wasn&#039;t this library suppose to be installed with iRedmail? Am I missing configuration now?</p><p>I went into the ldap</p><p>I now get this error.</p><p>ldap_bind: Invalid credentials (49)<br />Add new domain: ofinnigans.com.<br />ldap_bind: Invalid credentials (49)<br />ldap_bind: Invalid credentials (49)<br />ldap_bind: Invalid credentials (49)<br />ldap_bind: Invalid credentials (49)<br />Create Maildir: /home/vmail/ofinnigans.com/Jason.D/.<br />chown: cannot access `/home/vmail/ofinnigans.com/Jason.D/&#039;: No such file or directory<br />chmod: cannot access `/home/vmail/ofinnigans.com/Jason.D/&#039;: No such file or directory<br />Send a welcome mail to new user: Jason.D@ofinnigans.com</p><p>do I need to edit the /etc/openldap/slapd.conf</p><p>I made changes to the slapd.conf as below</p><p>database&nbsp; &nbsp; &nbsp; &nbsp; bdb<br />suffix&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;dc=ofinnigans,dc=com&quot;<br />rootdn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;cn=Manager,dc=ofinnigans,dc=com&quot;<br /># Cleartext passwords, especially for the rootdn, should<br /># be avoided.&nbsp; See slappasswd(8) and slapd.conf(5) for details.<br /># Use of strong authentication encouraged.<br /># rootpw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />rootpw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {SSHA}bGfd7/iqgll+IDsD6KzE9tCGRLncIKaR</p><p>when i restart ldap i get this error(but I ignore it)</p><p>Stopping slapd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [&nbsp; OK&nbsp; ]<br />Checking configuration files for slapd:&nbsp; bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)<br />Expect poor performance for suffix dc=ofinnigans,dc=com.<br />config file testing succeeded<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[&nbsp; OK&nbsp; ]<br />Starting slapd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [&nbsp; OK&nbsp; ]</p><p>I then edited the create script with the new rootpw</p><p>LDAP_SUFFIX=&quot;dc=ofinnigans,dc=com&quot;</p><p># Setting &#039;BASE_DN&#039;.<br />BASE_DN=&quot;o=domains,${LDAP_SUFFIX}&quot;</p><p># Setting &#039;DOMAIN_NAME&#039; and DOMAIN_DN&#039;:<br />#&nbsp; &nbsp; &nbsp;* DOMAIN will be used in mail address: ${USERNAME}@${DOMAIN}<br />#&nbsp; &nbsp; * DOMAIN_DN will be used in LDAP dn.<br />DOMAIN_NAME=&quot;$1&quot;<br />DOMAIN_DN=&quot;domainName=${DOMAIN_NAME}&quot;<br />OU_USER_DN=&quot;ou=Users&quot;<br />OU_GROUP_DN=&quot;ou=Groups&quot;</p><p># ---------- rootdn of LDAP Server ----------<br /># Setting rootdn of LDAP.<br />BINDDN=&quot;cn=Manager,${LDAP_SUFFIX}&quot;</p><p># Setting rootpw of LDAP.<br />BINDPW=&quot;bGfd7/iqgll+IDsD6KzE9tCGRLncIKaR&quot;</p><br /><p>Still cannot figure out what I am doing wrong. </p><p>Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (morrisonmd)]]></author>
			<pubDate>Tue, 21 Jul 2009 21:27:44 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post712.html#p712</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post710.html#p710</link>
			<description><![CDATA[<p>Wouldn&#039;t it have to all be on in order to send emails? For users to login?</p><p>The initial user I created works just fine.</p><p>I will take a look at these settings later tonight. Thanks for the help.</p>]]></description>
			<author><![CDATA[null@example.com (morrisonmd)]]></author>
			<pubDate>Tue, 21 Jul 2009 15:54:00 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post710.html#p710</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post702.html#p702</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>ldap_bind: Can&#039;t contact LDAP server (-1)</p></blockquote></div><p>Is your ldap server running?</p><div class="quotebox"><blockquote><p>create_mail_user_OpenLDAP.sh: line 161: slappasswd: command not found</p></blockquote></div><p>Do you have openldap related packages installed? In RHEL/CentOS, they are openldap-servers, openldap-clients.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 21 Jul 2009 07:56:04 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post702.html#p702</guid>
		</item>
		<item>
			<title><![CDATA[Unable to create new user for domain -ldap error]]></title>
			<link>http://www.iredmail.org/forum/post701.html#p701</link>
			<description><![CDATA[<p>having problems creating ldap user, getting error can&#039;t contact LDAP server, attempted to locate and view logs but was unsuccessful. Can anyone provide any assistance?</p><p>I update the variables within the create_mail_user_OpenLDAP.sh script as required.</p><br /><p>[root@www tools]# sh create_mail_user_OpenLDAP.sh ofinnigans.com JasonD<br />ldap_bind: Can&#039;t contact LDAP server (-1)<br />Add new domain: ofinnigans.com.<br />ldap_bind: Can&#039;t contact LDAP server (-1)<br />ldap_bind: Can&#039;t contact LDAP server (-1)<br />ldap_bind: Can&#039;t contact LDAP server (-1)<br />create_mail_user_OpenLDAP.sh: line 161: slappasswd: command not found<br />ldap_bind: Can&#039;t contact LDAP server (-1)<br />Create Maildir: /home/vmail/ofinnigans.com/JasonD/.<br />chown: cannot access `/home/vmail/ofinnigans.com/JasonD/&#039;: No such file or directory<br />chmod: cannot access `/home/vmail/ofinnigans.com/JasonD/&#039;: No such file or directory<br />Send a welcome mail to new user: JasonD@ofinnigans.com</p>]]></description>
			<author><![CDATA[null@example.com (morrisonmd)]]></author>
			<pubDate>Tue, 21 Jul 2009 07:13:10 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post701.html#p701</guid>
		</item>
	</channel>
</rss>
