LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-01-2010, 12:11 PM   #1
enfield
LQ Newbie
 
Registered: Apr 2005
Location: Tennessee
Distribution: Debian Lenny/Kubuntu 9.10
Posts: 4

Rep: Reputation: 0
Frustrated by Samba


All I want to do is share an external USB NTFS drive on my home network. The drive is attached to my desktop box running Debian Lenny. It's accessible on the desktop. I have a directory on the drive that I would like to make accessible to a Windows XP laptop. Read-only would be fine. The laptop has wireless access to the network.

I've been following advice, looking up links and reading tutorials now for months, off and on, and have had absolutely no success. Can anyone help me out, on or offline? If you want me to post the contents of files or logs, just let me know and I'll do it.

Thanks.
 
Old 02-01-2010, 12:14 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Frustrated by samba?
Looks like somebody ain't got the rhythm.
 
0 members found this post helpful.
Old 02-01-2010, 12:23 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
See if you have the Samba-doc package installed. It supplies the "Samba-3 by Example". If you don't have it, you can download it here:
www.samba.org/samba/docs/Samba3-ByExample.pdf

One of the examples is for a document server. It also takes you step by step though the process. Including what ownership and permissions to use for the directory you want to share.

I would recommend mounting the external drive from an /etc/fstab entry and not relying on automounting. The /media directory is intended for dynamic automatic mount (But that may be after FC3).
 
1 members found this post helpful.
Old 02-01-2010, 12:28 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Mr-Bisquit: If you had continued to help the OP, that would be one thing. Trolling like you did was bad mannered and also removed the thread from the zero reply list.
 
1 members found this post helpful.
Old 02-01-2010, 12:33 PM   #5
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
you'll have to be more explicit. what you did? how did you try to configure your box? how's your Samba config file?
 
Old 02-01-2010, 03:46 PM   #6
enfield
LQ Newbie
 
Registered: Apr 2005
Location: Tennessee
Distribution: Debian Lenny/Kubuntu 9.10
Posts: 4

Original Poster
Rep: Reputation: 0
If you want me to be more explicit, ask explicit questions. If I knew what I was doing I probably wouldn't have a problem. I explained in my original post exactly what I'm trying to do.


My current smb.conf is:

[global]
security = SHARE
workgroup = WORKGROUP
netbios name = batcave
passdb backend = guest

[OneTouch]
comment = External 500G
path = /media/OneTouch 4
guest ok = Yes
=============================

I'm off reading Samba3-ByExample.pdf . . .
 
Old 02-01-2010, 04:22 PM   #7
enfield
LQ Newbie
 
Registered: Apr 2005
Location: Tennessee
Distribution: Debian Lenny/Kubuntu 9.10
Posts: 4

Original Poster
Rep: Reputation: 0
Solved! I followed the first example in Samba3-ByExample.pdf and I'm up. As far as I can tell, the only meaningful difference from what I was doing before was editing the /etc/hosts file. No information I had come across before told me to do that.
 
Old 02-01-2010, 07:56 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Be sure you run "testparm" after editing /etc/samba/smb.conf. It will perform error checking. A common thing to miss (for shares that require authentication) is to not create a local Linux user for the person at the client, and running smbpasswd smbpasswd to create a Samba user/password entry. Glad you got it working.
 
1 members found this post helpful.
Old 02-01-2010, 08:05 PM   #9
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Quote:
Originally Posted by jschiwal View Post
Mr-Bisquit: If you had continued to help the OP, that would be one thing. Trolling like you did was bad mannered and also removed the thread from the zero reply list.
I'm part Brasilian, so when someone mentions Samba I think: Surdo, repinique, Timbalada, Zeca, etc. Get it?

Seems to me that the word came from my culture not the Linux community.

Think about that next time.
 
0 members found this post helpful.
  


Reply



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
Frustrated with DHCP and Samba (FC6, XP clients) rdnewman Linux - Networking 19 01-30-2008 05:56 PM
Serious Frustrated elc0chin0 LinuxQuestions.org Member Intro 2 04-24-2007 05:31 PM
Please help, very frustrated! m3s3lf Linux - Newbie 10 10-28-2004 09:50 AM
So frustrated!!! brit Mandriva 7 09-16-2003 06:45 AM
frustrated ;[ Ryan_Sutton Linux - Newbie 12 06-11-2002 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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
Open Source Consulting | Domain Registration