<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: I got a QNAP</title>
	<atom:link href="http://stuff.iain.cx/2008/01/20/i-got-a-qnap/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/</link>
	<description>Dumenil said I should write a blog</description>
	<lastBuildDate>Tue, 05 Mar 2013 00:28:32 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8</generator>
	<item>
		<title>By: iain</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-32</link>
		<dc:creator><![CDATA[iain]]></dc:creator>
		<pubDate>Tue, 04 Mar 2008 20:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-32</guid>
		<description><![CDATA[&lt;p&gt;For the Samba thing, as I mentioned before the QNAP will live in the domain quite happily if you don&#039;t care about preserving UIDs (which you would if you were also mounting the shares over NFS).  You would edit &lt;em&gt;/etc/smb.conf&lt;/em&gt; (outside the chroot) in the same way as any other Linux machine on the network and use &lt;code&gt;/usr/local/samba/bin/net join&lt;/code&gt; to join the domain.&lt;/p&gt;

&lt;p&gt;If you do care about UIDs (as I did) you would need to follow the rest of the steps I did above, remembering to disable Samba from the QNAP web interface so the &quot;wrong&quot; &lt;em&gt;smbd&lt;/em&gt; isn&#039;t restarted.  And in this case too you configure &lt;em&gt;smb.conf&lt;/em&gt; (inside the chroot) in the same way you usually would for another Linux machine.&lt;/p&gt;]]></description>
		<content:encoded><![CDATA[<p>For the Samba thing, as I mentioned before the QNAP will live in the domain quite happily if you don&#8217;t care about preserving UIDs (which you would if you were also mounting the shares over NFS).  You would edit <em>/etc/smb.conf</em> (outside the chroot) in the same way as any other Linux machine on the network and use <code>/usr/local/samba/bin/net join</code> to join the domain.</p>
<p>If you do care about UIDs (as I did) you would need to follow the rest of the steps I did above, remembering to disable Samba from the QNAP web interface so the &quot;wrong&quot; <em>smbd</em> isn&#8217;t restarted.  And in this case too you configure <em>smb.conf</em> (inside the chroot) in the same way you usually would for another Linux machine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jofafrazze</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-31</link>
		<dc:creator><![CDATA[jofafrazze]]></dc:creator>
		<pubDate>Mon, 03 Mar 2008 19:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-31</guid>
		<description><![CDATA[Thanks for the reply Iain,

now it makes sense with the double system. It turned out that someone/something had mounted the  Qmultimedia inside th chroot&#039;s /ext already (The SlimServer installation I suppose).]]></description>
		<content:encoded><![CDATA[<p>Thanks for the reply Iain,</p>
<p>now it makes sense with the double system. It turned out that someone/something had mounted the  Qmultimedia inside th chroot&#8217;s /ext already (The SlimServer installation I suppose).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inspire</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-30</link>
		<dc:creator><![CDATA[inspire]]></dc:creator>
		<pubDate>Thu, 28 Feb 2008 18:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-30</guid>
		<description><![CDATA[We basically need that QNAP NAS could &quot;recognize&quot; the domain accounts (users, groups, etc.) of our PDC (SAMBA+LDAP running on a Fedora Box) with windows/linux/mac clients. I am a little confused right now on what I&#039;ve to do after we bought the QNAP TS 409.]]></description>
		<content:encoded><![CDATA[<p>We basically need that QNAP NAS could &#8220;recognize&#8221; the domain accounts (users, groups, etc.) of our PDC (SAMBA+LDAP running on a Fedora Box) with windows/linux/mac clients. I am a little confused right now on what I&#8217;ve to do after we bought the QNAP TS 409.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iain</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-29</link>
		<dc:creator><![CDATA[iain]]></dc:creator>
		<pubDate>Thu, 28 Feb 2008 17:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-29</guid>
		<description><![CDATA[I had the Samba setup that I installed in the chroot working as you describe.  Eventually I decided it would be easier just to make it a domain controller but still pulling the LDAP data from a separate machine.

If you don&#039;t care about UID mapping the QNAP will work out of the box[1] as the Samba outside the chroot has LDAP support compiled in.  I wanted UID mapping to work consistently with NFS, however, so I was forced to install Samba in the chroot as in my post.

[1] Well maybe not really out of the box.  The QNAP web interface won&#039;t allow you to set this up but if you know your way around smb.conf you can do it yourself.]]></description>
		<content:encoded><![CDATA[<p>I had the Samba setup that I installed in the chroot working as you describe.  Eventually I decided it would be easier just to make it a domain controller but still pulling the LDAP data from a separate machine.</p>
<p>If you don&#8217;t care about UID mapping the QNAP will work out of the box[1] as the Samba outside the chroot has LDAP support compiled in.  I wanted UID mapping to work consistently with NFS, however, so I was forced to install Samba in the chroot as in my post.</p>
<p>[1] Well maybe not really out of the box.  The QNAP web interface won&#8217;t allow you to set this up but if you know your way around smb.conf you can do it yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inspire</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-28</link>
		<dc:creator><![CDATA[inspire]]></dc:creator>
		<pubDate>Thu, 28 Feb 2008 16:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-28</guid>
		<description><![CDATA[Hi there Iain,

	I am interested in one of QNAP Products. The qnap 409 ts pro for my company. However we are concerned about the fact that probably it wouldn&#039;t satisfy one of our needs. We need a NAS-Server fully compatible with our Domain (Samba3 running in one of our Linux servers with a LDAP backend for storing users and its attributes) to act as a client and therefore allowing users to access shares on the NAS server.
We do not have Active Directory (Windows Server Domain). 

Best Regards,]]></description>
		<content:encoded><![CDATA[<p>Hi there Iain,</p>
<p>	I am interested in one of QNAP Products. The qnap 409 ts pro for my company. However we are concerned about the fact that probably it wouldn&#8217;t satisfy one of our needs. We need a NAS-Server fully compatible with our Domain (Samba3 running in one of our Linux servers with a LDAP backend for storing users and its attributes) to act as a client and therefore allowing users to access shares on the NAS server.<br />
We do not have Active Directory (Windows Server Domain). </p>
<p>Best Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iain</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-27</link>
		<dc:creator><![CDATA[iain]]></dc:creator>
		<pubDate>Wed, 27 Feb 2008 15:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-27</guid>
		<description><![CDATA[&lt;p&gt;You would need to add it to the export script:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;    for share in Qmultimedia home files smb; do
    ...&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;The key line is the bind mount:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;    mount -o bind &lt;oldpath&gt; &lt;newpath&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;This is mounting the same thing in two places.  Since the script runs outside the chroot it would end up mounting Qmultimedia &lt;em&gt;inside&lt;/em&gt; it where you can access it.&lt;/p&gt;

&lt;p&gt;The reason cfv won&#039;t work (and the reason why I had to install my own Samba) is also the reason why they have the double system.  The core NAS stuff (kernel, NFS service, limited CIFS service) are built to be as small and fast as possible while maintaining a whole Linux distribution on the much larger storage where you can install pretty much everything you want.  And you can break it, too, without affecting the running of the system.&lt;/p&gt;]]></description>
		<content:encoded><![CDATA[<p>You would need to add it to the export script:</p>
<p>
<pre>    for share in Qmultimedia home files smb; do
    ...</pre>
</p>
<p>The key line is the bind mount:</p>
<p>
<pre>    mount -o bind &lt;oldpath&gt; &lt;newpath&gt;</pre>
</p>
<p>This is mounting the same thing in two places.  Since the script runs outside the chroot it would end up mounting Qmultimedia <em>inside</em> it where you can access it.</p>
<p>The reason cfv won&#8217;t work (and the reason why I had to install my own Samba) is also the reason why they have the double system.  The core NAS stuff (kernel, NFS service, limited CIFS service) are built to be as small and fast as possible while maintaining a whole Linux distribution on the much larger storage where you can install pretty much everything you want.  And you can break it, too, without affecting the running of the system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jofafrazze</title>
		<link>http://stuff.iain.cx/2008/01/20/i-got-a-qnap/comment-page-1/#comment-26</link>
		<dc:creator><![CDATA[jofafrazze]]></dc:creator>
		<pubDate>Tue, 26 Feb 2008 23:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://stuff.iain.cx/2008/01/20/i-got-a-qnap/#comment-26</guid>
		<description><![CDATA[Impressive! I&#039;ve got a TS-209 Pro of my own and inspired by your text I tried the chroot and apt-get part for installing cfv. As a Linux newbie I got confused by the second half of your post however. I would like to use cfv to work on my files in /share/MD0_DATA/Qmultimedia, which is outside the chroot. And cfv doesn&#039;t seem to work from the real root. Could you please help me out on this one? And why would they create a &quot;double&quot; system like this (real root vs. chroot systems)?]]></description>
		<content:encoded><![CDATA[<p>Impressive! I&#8217;ve got a TS-209 Pro of my own and inspired by your text I tried the chroot and apt-get part for installing cfv. As a Linux newbie I got confused by the second half of your post however. I would like to use cfv to work on my files in /share/MD0_DATA/Qmultimedia, which is outside the chroot. And cfv doesn&#8217;t seem to work from the real root. Could you please help me out on this one? And why would they create a &#8220;double&#8221; system like this (real root vs. chroot systems)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
