LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba Tutorial (https://www.linuxquestions.org/questions/linux-newbie-8/samba-tutorial-288961/)

Snipersnest 02-11-2005 10:33 AM

Samba Tutorial
 
Just wondering if anyone out there knows of a good Samba Tutorial. I'm trying to network my 80gigs of MP3s to my wifes computer (XP) but can never get it going.

I just need a step by step tutorial on how to get Samba setup so XP can share the drive. The drive is a Read-Only NTFS partition on my Linux box.

Any ideas or can somebody help me with this?

Draithon 02-11-2005 11:38 AM

I ran into something similiar so I did the following and it seemed to work for me.


Created a share on my XP box with read & write permissions
then I created a linux mount point in my /usr/local/ by doing the following:

cd /usr/local
mkdir samba_share
mount -t smbfs -o workgroup=<workgroup name>,username=<username>,password=<password> //<SERVERNAME>/<SHARE NAME> /usr/local/samba_share

Now you just replace the <....> with your information, make sure you do not have spaces. That should allow you to connect to your XP box.


I hope this helps.

:cool:

Snipersnest 02-11-2005 11:51 AM

Well that helps a little bit...but you got it backwards on what I need to do. I have the files on my Linux box, on an NTFS partition from my previous XP install...I want to share the files from my mounted NTFS partiton to my wifes Windows XP network. I can't seem to get it going....

mcleprechaun 02-11-2005 01:15 PM

You must have samba running on your linux box. ps -C smbd and ps -C nmbd will show you if they are running.
You must have a properly configured smb.conf file ( usually in /etc/samba or in /usr/local/samba/lib ). The smb.conf file is heavily commented to help you with the configuration. There are many tutorials and samba howtos that you can find with a google search and of course the linux documentation project also has samba howtos www.tldp.org

kenji 02-11-2005 01:26 PM

hi!
have you ever tried editing your smb.conf?
just paste this at the end of smb.conf good luck! £Ä3


[MyShare]
path = /path/share
writeable = yes
invalid users = %S

Snipersnest 02-12-2005 04:39 PM

ok by doing the above I can now see my PC on the Windows network....but its still no access.

Of course Samba is running on my box....lol.... I more of a PowerUser than a straight up n00b at Linux..

Any other ideas?

floppywhopper 02-12-2005 07:10 PM

Heres some links

http://www.oreilly.com/catalog/samba2/book/toc.html

http://www.oreilly.com/catalog/linag2/book/index.html

http://www.icon.co.za/~psheer/book/node42.html.gz

and of course the official samba site
plenty of good docs there and links too
http://us1.samba.org/samba/

hope this helps
live long and prosper
floppy

Snipersnest 02-14-2005 07:19 AM

oh wow these are great... I even tried to google something close...but didn't find anything this far indepth! Thanks!


All times are GMT -5. The time now is 10:17 AM.