Problem with authentication on APF on Ubuntu
15 Apr 2011
After setting up an APF share on my Ubuntu machine I was unable to authenticate correctly when I tried to connect to it with my OS X machine.
The login window claimed that I used a incorrect username or password.
I found the solution to it here on the ubuntu forum:
Simply edit the /etc/netatalk/afpd.conf config file and replace ‘uams_dhx.so’ with ‘uams_dhx2.so’ so the line looks like so:
- -transall -uamlist uams_randnum.so,uams_dhx2.so,uams_guest.so -nosavepassword -advertise_ssh
I set up the share while following this great guide so I expect that a lot of Ubuntu users following the guide will run into the same problem.
Also: Since I used Ubuntu 10.10 Netatalk already seems to contain the necesary encryption and I could skip compiling it myself and I simply got it by grabbing it from the repository with
sudo apt-get install netatalk