Do you need to advertise an AFP service via Avahi for an Ubuntu Server to show up in OSX Finder?

Posted by James on Server Fault See other posts from Server Fault or by James
Published on 2012-11-22T00:18:46Z Indexed on 2012/11/22 5:02 UTC
Read the original article Hit count: 478

Filed under:
|
|
|

I am only advertising an NFS share plus the "model", and I don't want to install extra services on the Server unless I have to, ie netatalk, as it is used solely for NFS exports.

Currently there is no entry in Finder under "Shared" with below config of Avahi.

serveradmin@FILESERVER:/etc/avahi/services$ cat nfs.service
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_nfs._tcp</type>
<port>2049</port>
<txt-record>path=/Volumes/StoragePool</txt-record>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>
</service-group>

Server: Ubuntu 12.04.01 x64 Clients: OSX 10.6.8 , 10.7.5, 10.8.2

The goal is to advertise that NFS share, then assign a really old Model code of Mac like a Powermac and switch out the icon for a more "LinuxServer-y" one. Plus allow users to connect to NFS in a manner they are familiar with like our other Xserve servers.

I think Avahi is working in general as if I do: nfs://FILESERVER.local/Volumes/StoragePool it will connect fine.

Any ideas?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about macosx