By default Debian’s netatalk package does not come with encryption support (hence why you get a warning message in OS X 10.3 & 10.4 regarding the sending of cleartext passwords). Leopard deeply cares about encryption and doesn’t even allow non-encrypted password.
There are a lot of guides available on the internet, attached is a i386 binary (sorry x86_64 folks) that has encryption support build in.
A stern warning:
My deb package does NOT include printing support through Appletalk. There seems to be a library problem. Either one must disable encryption support in the binary to allow printing or the other way around. So if you were using Appletalk and using your Debian box as a print server, this will not work with this deb package. Furthermore I have no responsibility and no liability when it comes to what the altered software package does to your computer so use at your own risk!
You need the following libararies installed in order for this to work peachy:
libdb4.2
cracklib2
cracklib-runtime
libssl0.9.8
libpam-modules
libauthen-pam-perl
libpam0g
libslp
libwrap0
Other requirements:
-A good sense of Debian understanding if something does go wrong
-Debian 4.0
-libc6 2.6+ (find out by doing ‘dpkg -l | grep libc6′)
Step 1
paste in (no quotes):
‘aptitude install libdb4.2 cracklib2 cracklib-runtime libssl0.9.8 libpam-modules libauthen-pam-perl libpam0g libslp libwrap0′
Step 2
Download my .deb package on your debian machine:
‘cd /tmp; wget http://www.disgruntled-dutch.com/media/misc/netatalk_2.0.3-4_i386.deb’
(linked here)
Step 3
Install deb package.
‘cd /tmp; dpkg -i netatalk_2.0.3-4_i386.deb’
Step 4
Tell aptitude / apt-get to not upgrade netatalk.
‘aptitude hold netatalk’
Step 5
Your done!
Tags: aptitude, deb, debian, download, encryption, etch, netatalk
I mentioned in my last post that I procured 4x 500GB at a very good price. The intention the entire time was to build a cost effective but reliable NAS in order to store my various files centrally instead of a copy on the iMac, a copy on the laptop and another copy elsewhere. Not to mention that all these systems only had one hard drive, meaning one single failure could wipe out some of my data (with exception to the iMac which has a 250gb firewire drive to which it syncs data every night with my own little written rsync script).
There are some software solutions that have been released that purely focus on the ability to quickly create a NAS. I had simple requirements. I needed Samba for my Windows based laptops, NFS for my Linux workstation and AFP for the Macs. FreeNAS was the first thing that came to my mind. Openfiler was out, one because it hadn’t been developed in over a year (doesn’t show developer commitment in my mind then) and NAS lite required you to have a hardware RAID controller. While ideally that would’ve been the nicest, there are some software solutions that do a very well job. Unfortunately FreeNAS was not reliable. The latest RC missed a ata.timeout flag, which caused my disks to get “detached” because the spinup too longer then my 5 seconds. I tried the beta which did include this functionality but after the loads were without any clear reason why at 2.x – 3.x and my file transfers were moving like molasses, I rebooted the machine. It never came back up. The restart process literally damaged the software based RAID. At this point I let the idea rest for 3 days until I decided that I didn’t need a dedicated NAS solution/package to get my NAS to work. I have enough experience now to get my own machine together and it’ll be exactly what I want.
My current job requires me to use Red Hat and Solaris. Both are very well developed operating systems (I’m even going to a Solaris training camp in December paid by my work) but they aren’t my choice of operating system. My last employment had me use Debian and I really like how Debian works and is setup. DEB packages are fantastic and aptitude (apt-get previously) makes it even better. It is, in my opinion, years ahead of RPMs and the Yum software. So I downloaded the 140MB Debian 4.0 Netinst CD and I was on my way to getting Debian rolled onto my old desktop.