Helping Macintosh OS X connect to Samba server

On the Linux server, add the file:

/etc/avahi/services/samba.service

Copy this code in the new file:

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>
    <name replace-wildcards="yes">%h server</name>
    <service>
        <type>_smb._tcp</type>
        <port>139</port>
        <host-name>chris.local</host-name>
    </service>
</service-group>

Leave a Reply

Your email address will not be published. Required fields are marked *