Setting Up Samba Shares For Os X
#1
Posted 02 June 2004 - 01:02 AM
First things first. Download SharePoints: http://www.macupdate...nfo.php/id/8658
Next, install the PrefPane. Don't worry about the application, just use the SharePoints.prefPane. In 10.3 you can just double click this and it will install it, if you are using 10.2 or lower then drag the prefPane into /Users/USERNAME/Library/PreferencePanes/
Now quit System Preferences if its open and reopen it. Look at the bottom of the window and there is SharePoints. Click on it to open it.
Now you should have a window with lots of stuff that may look intimidating but it isn't. The main window area is where the shares are listed, but you dont have any yet. But first things first:
SET UP SAMBA ON YOUR OS X MACHINE
Click on the last tab at the right that says "SMB Props" and set the right info. "Server NetBios Name" == Computer name, "Workgroup" == Workgroup your pc's or Xbox is on. Leave the rest alone and click "Update Samba (SMB) Server Properties"
Add A Share
Type a share name into the "Share Name" box. This is self explanatory. Now Choose the permissions you want the share to have. Just worry about the Owner permissions and choose r/w (Readable/Writeable). Now click the "Browse" buttton next to "Directory" and choose what directory you want to share. Directly under this are two drop downs, one for enabling AFS and one for enabling SMB. Click on the one for SMB and chose Shared+. Now click the "Create New Share" button and your share will then end up at the top. You now have a share.
Now click on the SHOW ALL icon at the top of the preferences window to get back to the main preferences. Now Click on Sharing and choose Windows Sharing and start it. You are now sharing with Samba.
Edit XboxMediaCenter.xml
In my example i will make a share for My Music. So lets say my settings were this:
Computer Name: Powermac
Workgroup: Macster
Share Name: Music
I will now use all this data that i have used to create my share to now add my share to the xbmc XML file.
Scroll down to the Samba section of the XML file. (If you don't have this, upgrade your version of XBMC)
This is what my entry would be:
| CODE |
<samba> <workgroup>Macster</workgroup> <winsserver>-</winsserver> <debuglevel>0</debuglevel> </samba> |
Just enter the Workgroup, don't worry about the other 2 properties.
Now scroll down to the My Music section. My XML will look like this:
| CODE |
<!-- my music shares !--> <music> <default></default> <bookmark> <name>seven5's Music</name> <path>smb://USER:PASS@192.168.1.62/Music/</path> </bookmark> </music> |
The important string here is smb://USER:PASS@YOURIPADDRESS/YOURSHARE/
You must use the user name and password combination of the user that is logged into the computer that you are connecting to while your new share is active. Basically, your user name and password. Then enter the IP address of the computer. Then the share name that you created.
Just look at my entries, and compare them to my XML. to see what matches up. This is very basic.
Edited by seven5, 02 June 2004 - 04:37 AM.
#2
Posted 02 June 2004 - 03:17 AM
Edited by carmine, 02 June 2004 - 03:19 AM.
#3
Posted 02 June 2004 - 04:50 AM
#4
Posted 19 June 2004 - 07:21 PM
#5
Posted 19 June 2004 - 07:54 PM
#6
Posted 19 June 2004 - 08:09 PM
#7
Posted 19 June 2004 - 08:13 PM
You create the computer name and probably the workgroup name for SMB there.
The default name on windows is "WORKGROUP" so if you've networked your mac to a pc that'll probably be a good name for the workgroup.
For example, i used PBTim als the computer name and WERKGROEP as workgroup (I'm Dutch eh?)
#8
Posted 19 June 2004 - 08:35 PM
#9
Posted 19 June 2004 - 09:22 PM
Also, make sure the user/pass combo is the one you use on your computer.
And make sure you link to the sharename you gave the folder in the preference pane.
I made a share in there called 'music' and i link to it with:
smb://tim:<mypassword>@10.0.1.4/music
#10
Posted 19 June 2004 - 09:31 PM
wait -- if my mac is on a wireless network with my pc, in the xml, do i put my mac ip or the router ip?
Edited by Spykes424, 19 June 2004 - 09:50 PM.
#11
Posted 20 June 2004 - 07:51 AM
#12
Posted 20 June 2004 - 12:32 PM
#13
Posted 21 June 2004 - 02:26 AM
A@ron
#14
Posted 18 August 2004 - 07:42 PM
All you need to do is put your username in the samba path and sharing will work perfectly without haveing to install more software.
Example:
Instead of this:
| CODE |
<!-- my music shares !--> <music> <default></default> <bookmark> <name>seven5's Music</name> <path>smb://USER:PASS@192.168.1.62/Music/</path> </bookmark> </music> |
have this:
| CODE |
<!-- my music shares !--> <music> <default></default> <bookmark> <name>seven5's Music</name> <path>smb://USER:PASS@192.168.1.62/USER/Music/</path> </bookmark> </music> |
notice "smb://USER:PASS@192.168.1.62/Music/" has changed to "smb://USER:PASS@192.168.1.62/USER/Music/" where USER is the same as the first USER
#15
Posted 30 August 2004 - 01:06 PM
| QUOTE (YoMama1111 @ Aug 18 2004, 08:45 PM) |
| installing this software is totally unneeded |
The software is 'needeed' if you are sharing data on another drive. You can actually do it by editing a file, but sharepoints is much easier for most people.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users



