Samba Shares in Leopard


Recommended Posts

Hello all Leopard owners! I've recently bought Leopard and installed it on my Intel iMac, and, as you know, Mac OS 10.5 comes with a brand-new "Places" section in the Finder, where your servers show up. However, in my experience, you can only connect to NFS or Windows shares, and not say, Linux shares through Samba. So, If you've got a Linux server you need to connect to via Samba on Leopard, here's what to do:

1. Make a "/etc/avahi/services/samba.service" file.

2. Open that file with a text editor, and paste this in, changing the LINUX HOSTNAME as required:

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

<service-group>
	<name replace-wildcards="yes">%h filer</name>
	<service>
		<type>_smb._tcp</type>
		<port>139</port>
		<host-name>LINUX HOSTNAME HERE</host-name>
	</service>
</service-group>

3. Save the file.

4. Run the following in a Terminal (tested on Ubuntu Server):

sudo /etc/init.d/avahi-daemon restart
sudo /etc/init.d/samba restart

5. Back on your Mac, your server should show up. In case it dosen't, reboot your Mac. If it still dosen't show up, click Go > Connect to Server. Type in:

smb://your.ip.adress

This should make the Mac friends with your server, and it should now show up with a nice Blue Screen in your Places.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.