<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shared Know How &#187; mac osx leopard tiger netatalk linux</title>
	<atom:link href="http://www.sharedknowhow.com/tag/mac-osx-leopard-tiger-netatalk-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharedknowhow.com</link>
	<description>Howto: fix, find, use, make &#38; do it guide</description>
	<lastBuildDate>Fri, 16 Apr 2010 09:41:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing netatalk under CentOS 5 with Leopard support</title>
		<link>http://www.sharedknowhow.com/2008/05/installing-netatalk-under-centos-5-with-leopard-support/</link>
		<comments>http://www.sharedknowhow.com/2008/05/installing-netatalk-under-centos-5-with-leopard-support/#comments</comments>
		<pubDate>Fri, 02 May 2008 13:16:18 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac osx leopard tiger netatalk linux]]></category>

		<guid isPermaLink="false">http://www.sharedknowhow.com/?p=9</guid>
		<description><![CDATA[I  had a old installation on our personal server of Netatalk withouth encrypted password support. This is fine when you are on your local network and use Tiger but with Leopard this is no longer supported.
I used netatalk-2.0.3
First time I tried to install under centOS5 I got an error
cnid_index.c:277: warning passing argument 2 of [...]]]></description>
			<content:encoded><![CDATA[<p>I  had a old installation on our personal server of Netatalk withouth encrypted password support. This is fine when you are on your local network and use Tiger but with Leopard this is no longer supported.</p>
<p>I used netatalk-2.0.3</p>
<p>First time I tried to install under centOS5 I got an error</p>
<p><code>cnid_index.c:277: warning passing argument 2 of 'db-&gt;stat' from incompatible pointer type<br />
cnid_index.c:277: error: too few arguments to function 'db-&gt;stat'</code></p>
<p>after some googling I found out that this has to do with support for an outdated Berkeley DB.</p>
<p><span id="more-9"></span><br />
This can easily be fixed by editting to lines:</p>
<p>edit line 277 in "bin/cnid/cnid_index.c" and change:</p>
<p><code>ret = db-&gt;stat(db, &amp;sp, 0);</code><br />
to<br />
<code>ret = db-&gt;stat(db, NULL, &amp;sp, 0);</code></p>
<p>on line 517 of "etc/cnid_dbd/dbif.c" you have to do exactly the same.</p>
<p>Now do configure &amp; make:</p>
<pre class="text">./configure --enable-redhat --enable-cups --enable-pgp-uam --enable-krb4-uam --enable-krbV-uam
make install</pre>
<p>now edit the config file in /usr/local/etc/netatalk/ according to your preferences.</p>
<p>mine is pretty basic:</p>
<p><strong>afpd.conf</strong></p>
<pre class="text">- -transall -ddp -uamlist uams_clrtxt.so,uams_dhx.so -nosavepassword</pre>
<p><strong>AppleVolumes.default</strong></p>
<pre class="text">/home/tim allow:tim
/home/pieter allow:pieter
/home/wytze allow:wytze
/home/samba allow:wytze,thijs,tim,piete</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sharedknowhow.com/2008/05/installing-netatalk-under-centos-5-with-leopard-support/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
