Howto change sharing root for samba

Airbrush

Registered
We got a server running OSX 10.3 (Not server) and I "want" to share a folder on our external RAID to our PC´s. But I can´t figur out how to change the root to that folder. The Built-in smb "on/off" does only share the home catalouge.
Is this even possible to change?
 
Yes, I think it is in the Samba.conf file in /etc/ folder, though I'm not at my Mac at the moment so I can't confirm that.
 
If it's called smb.conf, yes there is. But I don't see anything in there about a path, at least, nothing uncommented.
 
That's right, you can edit the smb.conf file directly to create extra shares, and so on.
For detailed info, go to http://samba.org/

For a general guide though, I'm pretty sure you can just uncomment one of the example lines and modify it a bit to share any point on your filesystem.

Check this example from the Samba docco (under smb.conf) ...

The following sample section defines a file space share. The user has write access to the path /home/bar. The share is accessed via the share name “foo”:

Example 1.

[foo]
path = /home/bar
read only = read only = no
 
Back
Top