This is what I did to get computer with Ubuntu 12.04 to use as file and print server on Mountain Lion OSX.
-
Encrypted Ubuntu setup: http://blog.markloiseau.com/2012/05/ubuntu-aes-xts-plain64/
-
Netatalk 3x setup: https://gist.github.com/2856490
-
Netatalk 3x config: https://wiki.archlinux.org/index.php/Netatalk#Configuration
-
Setup a shared printer from Ubuntu to OSX: first solution in http://superuser.com/questions/94552/how-do-i-share-printer-from-ubuntu-9-10-to-windows-to-mac-os-x-and-to-other-ub