Samba configuration
From Applepedia
Samba configuration on OS X is located in /etc/smb.conf
Check out SharePoints if you're not comfortable editing the configuration manually. It's free and will probably do what you want.
[edit]
Changing the workgroup
This can be done with SharePoints
By default, the OS X Samba configuration uses WORKGROUP for a workgroup name. You may wish to change this, especially if you have Windows machines on your LAN.
- Open Directory Access in /Applications/Utilities/.
- Click the lock, and authenticate.
- Select CMB/CIFS, and click Configure....
- Enter your desired workgroup in the Workgroup field.
- You may have to restart Samba for it to take effect. The easiest way is via the Sharing preference pane in System Preferences. Click on Windows Sharing and then click Stop, then Start
[edit]
Adding shares
This can be done with SharePoints
Open Terminal and edit the configuration file using sudo
$ sudo nano /etc/smb.conf
You should see some existing configuration options and shares. Now add your own for the drive or path that you want to share. Here's an example taken from a Samba configuration to share a USB hard drive called PEAR.
[PEAR] path = /Volumes/PEAR comment = USB 120 GB Drive browsable = no readonly = no public = no writable = yes
[edit]

