<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — roundcube 0.2.1 password change]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic472.xml" />
	<updated>2009-12-06T03:36:51Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic472-roundcube-021-password-change.html</id>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2023.html#p2023" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Works for me here with php-mhash installed. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Ok, thank you very much for the help.&nbsp; I will setup a vz container and do some tests.</p>]]></content>
			<author>
				<name><![CDATA[ze]]></name>
				<uri>http://www.iredmail.org/forum/user684.html</uri>
			</author>
			<updated>2009-12-06T03:36:51Z</updated>
			<id>http://www.iredmail.org/forum/post2023.html#p2023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2022.html#p2022" />
			<content type="html"><![CDATA[<p>Works for me here with php-mhash installed. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-12-06T03:34:08Z</updated>
			<id>http://www.iredmail.org/forum/post2022.html#p2022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2021.html#p2021" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I did upgrade it.&nbsp; The ssha encryption doesn&#039;t work for me.&nbsp; I am not sure if I missing some packages of the encyption routine since I stripped down all of the i386 packages from the system.&nbsp; Maybe I will put it on openvz and track it down further with the default mininimum centos 5.3 install. </p><p>[root@hepsva iRedMail-0.5.1]# pear list<br />Installed packages, channel pear.php.net:<br />=========================================<br />Package&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Version State<br />Archive_Tar&nbsp; &nbsp; &nbsp; 1.3.3&nbsp; &nbsp;stable<br />Console_Getopt&nbsp; &nbsp;1.2.3&nbsp; &nbsp;stable<br />Net_LDAP2&nbsp; &nbsp; &nbsp; &nbsp; 2.0.7&nbsp; &nbsp;stable<br />PEAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1.9.0&nbsp; &nbsp;stable<br />Structures_Graph 1.0.3&nbsp; &nbsp;stable<br />XML_RPC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.5.0&nbsp; &nbsp;stable<br />XML_Util&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1.2.1&nbsp; &nbsp;stable</p><p>The log doesn&#039;t tell me anything.&nbsp; &nbsp;I went over the code and can&#039;t seem to find what encryption is required beside the mhash.<br />Thank you.</p><p>Ze</p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Since official password plugin of roundcube requires Net_LDAP2, you have to upgrade php-pear on RHEL/CentOS.<br />Reference: <a href="http://www.iredmail.org/forum/post1247.html#p1247">http://www.iredmail.org/forum/post1247.html#p1247</a></p><p>Please do SEARCH before asking <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ze]]></name>
				<uri>http://www.iredmail.org/forum/user684.html</uri>
			</author>
			<updated>2009-12-06T03:00:51Z</updated>
			<id>http://www.iredmail.org/forum/post2021.html#p2021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2018.html#p2018" />
			<content type="html"><![CDATA[<p>Since official password plugin of roundcube requires Net_LDAP2, you have to upgrade php-pear on RHEL/CentOS.<br />Reference: <a href="http://www.iredmail.org/forum/post1247.html#p1247">http://www.iredmail.org/forum/post1247.html#p1247</a></p><p>Please do SEARCH before asking <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-12-06T02:40:03Z</updated>
			<id>http://www.iredmail.org/forum/post2018.html#p2018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2017.html#p2017" />
			<content type="html"><![CDATA[<p>There is nothing in the apache error log.&nbsp; Roundcube logs goes to the mail syslog facility. <br />I have the php-mhash installed on the system.&nbsp; Maybe I should stick with md5 encryption till the password works without the Net/LDAP2.&nbsp; &nbsp; I have to upgrade the pear to &gt;1.5.0 and then install Net/LDAP2 pear package.&nbsp; It was a pain. </p><p>[root@hepsva httpd]# rpm -qa | grep php-mhash<br />php-mhash-5.1.6-15.el5.centos.1<br />[root@hepsva httpd]# rpm -qi php-mhash<br />Name&nbsp; &nbsp; &nbsp; &nbsp; : php-mhash&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Relocations: (not relocatable)<br />Version&nbsp; &nbsp; &nbsp;: 5.1.6&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Vendor: CentOS<br />Release&nbsp; &nbsp; &nbsp;: 15.el5.centos.1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Build Date: Thu 27 Mar 2008 07:29:40 AM HST<br />Install Date: Sat 05 Dec 2009 09:46:27 AM HST&nbsp; &nbsp; &nbsp; Build Host: builder10.centos.org<br />Group&nbsp; &nbsp; &nbsp; &nbsp;: Development/Languages&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Source RPM: php-extras-5.1.6-15.el5.centos.1.src.rpm<br />Size&nbsp; &nbsp; &nbsp; &nbsp; : 9643&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;License: The PHP License<br />Signature&nbsp; &nbsp;: DSA/SHA1, Thu 27 Mar 2008 07:44:13 AM HST, Key ID a8a447dce8562897<br />URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a href="http://www.php.net/">http://www.php.net/</a><br />Summary&nbsp; &nbsp; &nbsp;: Standard PHP module provides mhash support<br />Description :<br />Standard PHP module provides mhash support</p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Why don&#039;t you read apache error log?<br />If you use SSHA, php-mhash is required.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ze]]></name>
				<uri>http://www.iredmail.org/forum/user684.html</uri>
			</author>
			<updated>2009-12-06T01:10:39Z</updated>
			<id>http://www.iredmail.org/forum/post2017.html#p2017</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2016.html#p2016" />
			<content type="html"><![CDATA[<p>Why don&#039;t you read apache error log?<br />If you use SSHA, php-mhash is required.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-12-06T00:43:03Z</updated>
			<id>http://www.iredmail.org/forum/post2016.html#p2016</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2015.html#p2015" />
			<content type="html"><![CDATA[<p>Yes, that work with the default crypt.&nbsp; If I change it to ssha, it doesn&#039;t work.&nbsp; I got a error message saying can not save new passowrd, encrypt function missing.&nbsp; I can&#039;t find anything in the mailllog.&nbsp; Any ideas?&nbsp; Thank you.</p>]]></content>
			<author>
				<name><![CDATA[ze]]></name>
				<uri>http://www.iredmail.org/forum/user684.html</uri>
			</author>
			<updated>2009-12-05T19:31:56Z</updated>
			<id>http://www.iredmail.org/forum/post2015.html#p2015</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2014.html#p2014" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>$rcmail_config[&#039;password_ldap_userDN_mask&#039;] = &#039;mail=%login@%domain,ou=Users,domainName=%domain,o<br />=domains,dc=phys,dc=hawaii,dc=edu&#039;;</p></blockquote></div><p>Change %login to %name, and then it should work as expected.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-12-05T11:05:54Z</updated>
			<id>http://www.iredmail.org/forum/post2014.html#p2014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[roundcube 0.2.1 password change]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2013.html#p2013" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Is the password on the roundcube a plugin?&nbsp; I can&#039;t seem to find it.&nbsp; Maybe it is hard coded to the code?</p><p>I managed to upgrade roundcube to 0.3.1 and got the sieverules and webcalender working.&nbsp; I can&#039;t seem to get the password plugin working.&nbsp; I thought I can peek at the 0.2.1 code but no such luck.&nbsp; Ldap is a new beast to me and I have limited understanding of it.&nbsp; Here is the error message:</p><p>roundcube: Bind failed: Invalid credentials: LDAP_INVALID_CREDENTIALS (49):</p><p>Here is part of the config.inc.php under password:</p><p>// LDAP Driver options<br />// -------------------<br />// LDAP server name to connect to. <br />// You can provide one or several hosts in an array in which case the hosts are tried from left <br />to right.<br />// Exemple: array(&#039;ldap1.exemple.com&#039;, &#039;ldap2.exemple.com&#039;);<br />// Default: &#039;localhost&#039;<br />$rcmail_config[&#039;password_ldap_host&#039;] = &#039;localhost&#039;;</p><p>// LDAP server port to connect to<br />// Default: &#039;389&#039;<br />$rcmail_config[&#039;password_ldap_port&#039;] = &#039;389&#039;;</p><p>// TLS is started after connecting<br />// Using TLS for password modification is recommanded.<br />// Default: false<br />$rcmail_config[&#039;password_ldap_starttls&#039;] = false;</p><p>// LDAP version<br />// Default: &#039;3&#039;<br />$rcmail_config[&#039;password_ldap_version&#039;] = &#039;3&#039;;</p><p>// LDAP base name (root directory)<br />// Exemple: &#039;dc=exemple,dc=com&#039;<br />$rcmail_config[&#039;password_ldap_basedn&#039;] = &#039;domainName=%domain,o=domains,dc=phys,dc=hawaii,dc=edu&#039;<br />;</p><p>// LDAP connection method<br />// There is two connection method for changing a user&#039;s LDAP password.<br />// &#039;user&#039;: use user credential (recommanded, require password_confirm_current=true)<br />// &#039;admin&#039;: use admin credential (this mode require password_ldap_adminDN and password_ldap_admi nPW)<br />// Default: &#039;user&#039;<br />$rcmail_config[&#039;password_ldap_method&#039;] = &#039;user&#039;;</p><p>// LDAP Admin DN<br />// Used only in admin connection mode<br />// Default: null<br />$rcmail_config[&#039;password_ldap_adminDN&#039;] = null;</p><p>// LDAP Admin Password<br />// Used only in admin connection mode<br />// Default: null<br />$rcmail_config[&#039;password_ldap_adminPW&#039;] = null;</p><p>// LDAP user DN mask<br />// The user&#039;s DN is mandatory and as we only have his login,<br />// we need to re-create his DN using a mask<br />// &#039;%login&#039; will be replaced by the current roundcube user&#039;s login<br />// &#039;%name&#039; will be replaced by the current roundcube user&#039;s name part<br />// &#039;%domain&#039; will be replaced by the current roundcube user&#039;s domain part<br />// Exemple: &#039;uid=%login,ou=people,dc=exemple,dc=com&#039;<br />$rcmail_config[&#039;password_ldap_userDN_mask&#039;] = &#039;mail=%login@%domain,ou=Users,domainName=%domain,o<br />=domains,dc=phys,dc=hawaii,dc=edu&#039;;</p><p>// LDAP password hash type<br />// Standard LDAP encryption type which must be one of: crypt,<br />// ext_des, md5crypt, blowfish, md5, sha, smd5, ssha, or clear.<br />// Please note that most encodage types require external libraries<br />// to be included in your PHP installation, see function hashPassword in drivers/ldap.php for mo<br />re info.<br />// Default: &#039;crypt&#039;<br />$rcmail_config[&#039;password_ldap_encodage&#039;] = &#039;ssha&#039;;</p><p>// LDAP password attribute<br />// Name of the ldap&#039;s attribute used for storing user password<br />// Default: &#039;userPassword&#039;<br />$rcmail_config[&#039;password_ldap_pwattr&#039;] = &#039;userPassword&#039;;</p><p>// LDAP password force replace<br />// Force LDAP replace in cases where ACL allows only replace not read<br />// See <a href="http://pear.php.net/package/Net_LDAP2/docs/latest/Net_LDAP2/Net_LDAP2_Entry.html#methodreplace">http://pear.php.net/package/Net_LDAP2/d … hodreplace</a><br />// Default: true<br />$rcmail_config[&#039;password_ldap_force_replace&#039;] = true;</p><br /><p>Looks it doesn&#039;t bind correctly to the ldap server.&nbsp; I know it is running because I can login to roundtube and emails are being delivered.&nbsp; Thank you.</p><p>Ze</p>]]></content>
			<author>
				<name><![CDATA[ze]]></name>
				<uri>http://www.iredmail.org/forum/user684.html</uri>
			</author>
			<updated>2009-12-05T08:26:21Z</updated>
			<id>http://www.iredmail.org/forum/post2013.html#p2013</id>
		</entry>
</feed>
