Sorry this doesn't help the OP, but I can confirm that
unix extensions = no
worked for me. I have Macs running Snow Leopard connecting to Linux (lenny/sid) server with Samba 3.2.3. I am posting this so people will still try that. Much like others, before I put the unix extensions = no
line in, the force create mode
was being ignored.
As Gionn said, you don't strictly need AFP, but using it is a lot easier (especially if you also install avahi to advertise your server).
The error you have is due to CUPS, by default netatalk depends on it.
So you should try to install CUPS or disable the dependency (as I am a Gentoo user, I don't know how to do this on Ubuntu).
Then install the latest version Netatalk (2.0.5-r1 at this time), then configure it :
In /etc/default/netatalk.conf
or edit as follow :
ATALKD_RUN=no
PAPD_RUN=no
CNID_METAD_RUN=yes
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no
In /etc/netatalk/afpd.conf
edit as follow :
- -noddp -uamlist uams_dhx.so,uams_dhx2.so -nosavepassword -advertise_ssh
Let /etc/netatalk/AppleVolumes.default
intact to log in with the ubuntu server user.
If you want a bonjour advertising, install the latest version of Avahi (0.6.25-r1), then just create or edit /etc/avahi/services/afpd.service
like this example.
EDIT :
Netatalk 2.1 (even beta versions) should solve your problem.
I installed Gentoo on my old computer, then I tried Netatalk 2.0.5-r1 (same version I have at work) and I got the same error as you have and I solved it by using version 2.1 beta, which works like a charm.
As rjewell said for TimeMachine support, do the following in Mac OS X terminal :
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Best Answer
You can get more info on the issue with the debug log of
afpd
(Apple Filing Protocol daemon, part of netatalk package). To obtain it, add the following to configuration line inafpd.conf
(it's usually located at the bottom of the file):E.g., my config line looks like this:
After that, restart
netatalk
service and try to connect to your server from a mac. The/var/log/afpd.log
now contain a lot of useful info for resolving the issue. Also, please provide contents of yourafpd.conf
andAppleVolumes.default
(without commented lines, cause there are a lot of it). Mentioned files located in/etc/netatalk
, at least in Archlinux.