If you need to get your Linux AFP server to appear in Leopard’s sidebar this will get you there. I did this on my Fedora 8 system which supports DHX out of the box so there is no need to recompile avahi-daemon.
How to get your Linux-based AFP server to show up correctly in Leopard’s new Finder