Configuring SMB shares in OS X

2

I'm at my wit's end trying to control SMB file sharing on my Mac. (OS X 10.5 Leopard).

I want to do something fairly simple: share a particular (non-home, non-Public) folder over my my SMB/Windows network with two users (accounts are local to my Mac), and share no other folders with anyone.

The instructions on the internet are fairly straightforward: add the folders to be shared to the File Sharing panel of the Sharing System Preferences pane:

Sharing

..and ensure that I'm sharing through SMB:

System Preferences

However, when I actually try to connect via a SMB client (Windows XP in this case), the share does not appear. I see my home directory, "Macintosh HD", and my printers, but not the folder I just shared.

I ensured that the underlying directory had the proper permissions (since this seems to affect share visibility) and that the "Shared Folder" checkbox was checked:

alt text

...but this didn't have any effect.

I checked /etc/smb.conf but there was nothing obviously out of place there. I've also restarted smbd and rebooted.

What else should I be looking for?

Craig Walker

Posted 2009-12-29T01:48:16.670

Reputation: 589

Answers

1

Try setting a workgroup on the mac and the pc that is the same. On the mac it is set with system preferences for the network adapter. You could also try connecting by IP address instead of name.

Gordon

Posted 2009-12-29T01:48:16.670

Reputation: 11

0

That is the intended behaviour using OSX to share on SMB. The other folders will be unavailable, but the user must navigate to the folder they ARE allowed to access

Canadian Luke

Posted 2009-12-29T01:48:16.670

Reputation: 22 162

0

I recommend you check out a program called SharePoints. It works perfectly on my server running Mac OS X! :)

thisislev

Posted 2009-12-29T01:48:16.670

Reputation: 147

Unfortunately SharePoints doesn't work with Leopard: http://www.hornware.com/faq/index.php?qid=23&frommostrecent=yes

– Craig Walker – 2009-12-29T07:53:09.497

0

My first guess was that the XP machine isn't supplying a username/password, so OS X is only showing it the "guest"-readable shares - but you say it's showing your homedir, so that musnt' be the case.

My second guess is that the Samba hasn't been restarted and so the daemon hasn't seen the new share. Turning off SMB sharing and then turning it back on should fix this.

My third guess is that it's something else.

James Polley

Posted 2009-12-29T01:48:16.670

Reputation: 5 892

I actually had rebooted, but forgot to mention it. I've edited the question to reflect this – Craig Walker – 2009-12-29T16:58:08.950