<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Migration many servers]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic784.xml" />
	<updated>2010-04-06T14:21:13Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic784-migration-many-servers.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3364.html#p3364" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Why not just tell us how you store accounts with samples, so that we can work together to migrate them?</p></blockquote></div><p>OK, than we setup migration scripts for all users.</p><p>I will start the next days step by step, i contact you.</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-04-06T14:21:13Z</updated>
			<id>http://www.iredmail.org/forum/post3364.html#p3364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3363.html#p3363" />
			<content type="html"><![CDATA[<p>Why not just tell us how you store accounts with samples, so that we can work together to migrate them?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-04-06T14:17:23Z</updated>
			<id>http://www.iredmail.org/forum/post3363.html#p3363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3362.html#p3362" />
			<content type="html"><![CDATA[<p>Thanks, </p><p>can you please post the specifications for the ldap import files.</p><p>Than i will setup a perl script for the import.</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-04-06T14:12:19Z</updated>
			<id>http://www.iredmail.org/forum/post3362.html#p3362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3311.html#p3311" />
			<content type="html"><![CDATA[<p>- Password in /etc/shadow can be migrated into LDAP.<br />- Password genereated via MYSQL encrypt() works in LDAP:<br /></p><div class="codebox"><pre><code>mysql&gt; SELECT ENCRYPT(&#039;test&#039;);
+-----------------+
| ENCRYPT(&#039;test&#039;) |
+-----------------+
| ihcgGah8lhxqk   | 
+-----------------+</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-31T13:27:31Z</updated>
			<id>http://www.iredmail.org/forum/post3311.html#p3311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3308.html#p3308" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>mcaffee wrote:</cite><blockquote><p>MySQL SET `password` =  ENCRYPT( &#039;test1&#039; )</p></blockquote></div><p>How do you generate other passwords? MD5, SHA1/shadow, you mentioned above.</p></blockquote></div><p>We have so many system, this would be systems from the old owner and every of the use his own.</p><p>We have 1800 customers with Encrypt, 200 with MD5, 300 with old shadow passwords copy from linux in a MySQL DB, 5000 with cyrus in sasldb2, 3600 in a IMail Ipswitch System, 2300 in a old Ensim, 7100 with linux shadow/password.</p><p>I have copy the passwords from the systems that run at the moment, but i have only from 2% of the users, the passwords in plaintext.</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-03-31T12:34:06Z</updated>
			<id>http://www.iredmail.org/forum/post3308.html#p3308</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3307.html#p3307" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mcaffee wrote:</cite><blockquote><p>MySQL SET `password` =  ENCRYPT( &#039;test1&#039; )</p></blockquote></div><p>How do you generate other passwords? MD5, SHA1/shadow, you mentioned above.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-31T12:20:51Z</updated>
			<id>http://www.iredmail.org/forum/post3307.html#p3307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3306.html#p3306" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><blockquote><p>CRYPT b/PKcZHhYXwLo == test1</p></blockquote></div><p>Success in OpenLDAP. others failed.</p><p>May i know how did you generate these passwords?</p></blockquote></div><p>No problem, we wil ony use OpenLDAP, but we musst migrate all other servers to this system and the next step is setup a cluster with fallback.</p><p>MySQL SET `password` =&nbsp; ENCRYPT( &#039;test1&#039; )</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-03-31T12:13:52Z</updated>
			<id>http://www.iredmail.org/forum/post3306.html#p3306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3304.html#p3304" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>CRYPT b/PKcZHhYXwLo == test1</p></blockquote></div><p>Success in OpenLDAP. others failed.</p><p>May i know how did you generate these passwords?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-31T12:08:10Z</updated>
			<id>http://www.iredmail.org/forum/post3304.html#p3304</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3302.html#p3302" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>mcaffee wrote:</cite><blockquote><p>Please use this: &quot;$1$ka5OssZi$/1v.&quot; == &quot;compact53&quot;</p></blockquote></div><p>This is not MD5 encrypted?</p></blockquote></div><p>Sorry:</p><p>MD5 5a105e8b9d40e1329780d62ea2265d8a == test1<br />CRYPT b/PKcZHhYXwLo == test1<br />SHA1/shadow $1$ka5OssZi$/1v. == compact53</p><p>Cyrus use sasldb2</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-03-31T11:57:47Z</updated>
			<id>http://www.iredmail.org/forum/post3302.html#p3302</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3300.html#p3300" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mcaffee wrote:</cite><blockquote><p>Please use this: &quot;$1$ka5OssZi$/1v.&quot; == &quot;compact53&quot;</p></blockquote></div><p>This is not MD5 encrypted?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-31T11:31:39Z</updated>
			<id>http://www.iredmail.org/forum/post3300.html#p3300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3296.html#p3296" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Could you please give me a sample MD5 encrypted string and its plain password? so that i can test it.</p></blockquote></div><p>Please use this: &quot;$1$ka5OssZi$/1v.&quot; == &quot;compact53&quot;</p><p>I hope this helps and please do not forgot MySQL encrypt and MySQL md5.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-03-31T10:24:47Z</updated>
			<id>http://www.iredmail.org/forum/post3296.html#p3296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3295.html#p3295" />
			<content type="html"><![CDATA[<p>Could you please give me a sample MD5 encrypted string and its plain password? so that i can test it.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-31T09:53:41Z</updated>
			<id>http://www.iredmail.org/forum/post3295.html#p3295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3293.html#p3293" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>It&#039;s hard to write a script to migrate all accounts, because every deployment are different, except iRedMail.</p><p>- Not sure cyrus can be migrated.</p><p>OK, but we can try it...</p><p>- Which encrypt mech do you use in MySQL? MD5?</p><p>MySQL encrypt and MySQL md5</p><p>- Shadow MD5? do you mean /etc/passwd? It&#039;s OK to migrate to LDAP, but not sure to MYSQL.</p></blockquote></div><p>Shadow MD5 like &quot;$1$mtxL9Xwv$jGBIg9yoSoEpC.bJbWCU30&quot;</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-03-31T08:48:39Z</updated>
			<id>http://www.iredmail.org/forum/post3293.html#p3293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3292.html#p3292" />
			<content type="html"><![CDATA[<p>It&#039;s hard to write a script to migrate all accounts, because every deployment are different, except iRedMail.</p><p>- Not sure cyrus can be migrated.<br />- Which encrypt mech do you use in MySQL? MD5?<br />- Shadow MD5? do you mean /etc/passwd? It&#039;s OK to migrate to LDAP, but not sure to MYSQL.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-31T08:31:41Z</updated>
			<id>http://www.iredmail.org/forum/post3292.html#p3292</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Migration many servers]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3290.html#p3290" />
			<content type="html"><![CDATA[<p>Hello i will migrate so many servers:</p><p>7 with cyrus<br />4 with encrypt (MySQL)<br />6 with shadow md5</p><p>I dont need the mailboxes with the emails, i only need the users with their password not more not less.</p><p>Can somebody help me with some scripts for the migration.</p><p>Many thanks, mcaffee.</p>]]></content>
			<author>
				<name><![CDATA[mcaffee]]></name>
				<uri>http://www.iredmail.org/forum/user1294.html</uri>
			</author>
			<updated>2010-03-31T08:07:15Z</updated>
			<id>http://www.iredmail.org/forum/post3290.html#p3290</id>
		</entry>
</feed>
