LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2005, 10:33 AM   #1
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
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?
 
Old 02-11-2005, 11:38 AM   #2
Draithon
LQ Newbie
 
Registered: Feb 2005
Location: USA
Posts: 16

Rep: Reputation: 0
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.

 
Old 02-11-2005, 11:51 AM   #3
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Original Poster
Rep: Reputation: 30
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....
 
Old 02-11-2005, 01:15 PM   #4
mcleprechaun
Member
 
Registered: Oct 2003
Location: Missouri
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
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
 
Old 02-11-2005, 01:26 PM   #5
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
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
 
Old 02-12-2005, 04:39 PM   #6
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Original Poster
Rep: Reputation: 30
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?
 
Old 02-12-2005, 07:10 PM   #7
floppywhopper
Member
 
Registered: Aug 2004
Location: Albany, Western Australia
Distribution: Mageia 4, Debian 8, SME 9, IP Fire, PCLinuxOS, LinuxMX
Posts: 629
Blog Entries: 2

Rep: Reputation: 114Reputation: 114
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
 
Old 02-14-2005, 07:19 AM   #8
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
good samba tutorial niteshadw Linux - Newbie 1 04-20-2005 11:41 AM
Complete PDC Samba tutorial? arobinson74 Linux - Networking 2 04-12-2005 06:10 PM
Samba tutorial fuelinjection Linux - Software 1 04-06-2005 09:38 AM
Samba Tutorial LinuxRam Linux - General 4 08-15-2004 01:36 PM
tutorial on samba + ldap + kerberos coolamit78 Linux - Networking 1 06-10-2004 01:00 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration