LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-06-2010, 06:49 PM   #1
absinthe1
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Rep: Reputation: 0
sharing files over a lan without password


I am at a total loss. For all intents and purposes - sharing files over a lan without a password between this ubuntu 10.04 machine and my wifes laptop (windows 7) should be trouble free.
I've installed samba, and created an smb.conf file in /etc/samba
Code:

[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = oak
security = share
username map = /etc/samba/smbusers
name resolve order = lmhosts wins bcast hosts
wins support = no

[Audio]
comment = Public Share
path = /mnt/media/Audio
available = yes
browsable = yes
public = yes
writable = no

[Movies]
comment = Public Share
path = /mnt/media/Visual/Movies
available = yes
browsable = yes
public = yes
writable = no

[TV Shows]
comment = Public Share
path = /mnt/media/Visual/TV Shows
available = yes
browsable = yes
public = yes
writable = no

[Incoming]
comment = Public Share
path = /mnt/media/Incoming
available = yes
browsable = yes
public = yes
writable = no

Furthermore, my line in FSTAB
Code:

/dev/sdb1 /mnt/media ntfs-3g umask=000 0 0

I want to note that I was using Arch Linux and this exact setup worked flawlessly. Why on earth would it not work the same in Ubuntu? Is it not the same Samba??

Help!

Thanks
 
Old 06-07-2010, 11:48 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

What is the error/problem you're facing - you've explained your config (quite well too) but not exactly what the problem is?
 
Old 06-07-2010, 12:00 PM   #3
absinthe1
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by alli_yas View Post
Hi

What is the error/problem you're facing - you've explained your config (quite well too) but not exactly what the problem is?
Sorry, guess I did leave that out!

Basically, when my wife goes to connect to samba it says cannot connect - and to check the spelling or something like that. I'm at work right now and I don't have it in front of me but I can post more when I get home.

In explorer we can see the ubuntu machine (oak) but when we click to connect it errors out.

Thanks!
 
Old 06-07-2010, 12:10 PM   #4
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Cool - post the output of the mount on the Windows machine when trying to mount.

Also when trying to do it - maybe post the last 20-30 lines of /var/log/secure on the Ubuntu box.
 
  


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
LAN Sharing? jestinjoy Linux - Networking 2 01-23-2009 10:58 AM
sharing VPN access with lan + after vpn connected unable to ping lan/public ip xxx_anuj_xxx Linux - Networking 1 03-14-2008 03:50 AM
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 03:22 PM
Sharing files over a LAN between Linux only systems. Lokheed Linux - Networking 4 09-18-2004 07:15 PM
Internet Sharing through Lan varunbihani Linux - Software 8 07-20-2003 09:47 AM


All times are GMT -5. The time now is 01:08 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