LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2004, 04:01 PM   #1
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Devuan 3.0 (Beowulf)
Posts: 217

Rep: Reputation: 18
Windows sees Samba shared drive; Linux can't


I have set up a Samba share on a Red Hat 9 computer. It is a Pentium 200 MHz CPU, with 128 MB RAM, 100GB HD, 100Mb NIC. All I want it to do is sit in the corner and freely share any files copied to it over the LAN. It is installed behind a hardware firewall router. All local users of this share are trusted. If one deletes another's files, that's too bad, that's exactly how I want it.

After a Google search, I figured out how to install NetBIOS on all the Windows XP boxes. (This wasn't a problem with 98SE--thanx, Microsoft, for all the time saving improvements!) I mapped the network share to a drive letter on each. All of them can now see the share, and freely copy files in and out. I can also see the share from Nautilus by entering smb: and drilling down. So far, so good.

The problem is, once I open the share, none of the files are visible. Neither can I copy files onto the share from any other Linux machine.

These boxes also use Red Hat 9 and for the most part I accepted the defaults during installation. I have installed the latest RPMs in the up2date list. On the server itself, I used chmod to set all of the permissions wide open but the Linux machines still can't see any files or folders over the network, so that's not it. It doesn't seem like a iptables problem since I can see the shared drive on the LAN, just none of the files.

I'm stumped.

Has anybody written a clear, understandable, follow-the-bouncing-ball HOWTO on this? This seems like something lots of folks might want to do, and it doesn't seem like it ought to be this complicated. I'm entirely competent at following instructions, especially if they explain in explicit detail *why* each step of the way.

Thanks in advance for any advice or pointers you can provide.
 
Old 09-12-2004, 04:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
When sharing from a LInux box to another Linux box, setup NFS. Don't use Samba for them to see each other, that's really only suitable for Windows to Linux and vice versa. Linux to Linux = NFS.

Cheers.
 
Old 09-13-2004, 11:27 AM   #3
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Devuan 3.0 (Beowulf)
Posts: 217

Original Poster
Rep: Reputation: 18
You're kidding, right? Linux can't use Samba to talk to another Linux at all? You're saying I have to set up both Samba and NFS to have a complete networking solution?

Is this the way EVERYBODY does networking?
 
Old 09-13-2004, 01:00 PM   #4
mexifries
LQ Newbie
 
Registered: Aug 2003
Location: ATL GA
Distribution: slack 10
Posts: 7

Rep: Reputation: 0
nah nfs is pointless if you have win machines on your network. stick with samba.

your setup seems like mine. sucky thing i don't like about all this is i can't easily double click on the share folder within linux like i do in windows.. i have to mount in a shell first.

so i put this in my fstab on my client linux machine

//SERVER.IP.ADDY.HERE/pub /mnt/fileserver smbfs users,umask=000,uid=4000,gid=4000,username=smbguest 0 0

if you do something like this be sure to add a 4000 group and a user 'smbguest' with that gid and with no password first to unix then to samba.

i'm assuming you set your host linux box's smb.conf already, and it's on your windows workgroup and your win clients are looking to that IP addy as a wins server... here's my smb.conf for my fileserver

[global]
workgroup = LCM
server string = slack 10 samba 3.0.4
security = user
guest account = smbguest
encrypt passwords = yes
password level = 20
domain master = yes
local master = yes
prefered master = yes
os level = 65

[pub]
path = /opt/pub
guest ok = yes
read only = no
comment = liberty files
guest only = yes

[EOF]

i can't think of anything else.. oyea the adding users to the host machine... as root first add a group called smbguest, give it a gid of 4000.. then add a user.. called smbguest also.. with no password... make him belong to that group by default.. then add the user in samba by typing smbpasswd -a smbguest...

then all the win clients can log in with smbguest and so can your linux clients.

Last edited by mexifries; 09-13-2004 at 01:10 PM.
 
  


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
Linux sees 2003 Domain, windows sees Linux ..but.... Stealthy_C Linux - Networking 4 06-14-2005 03:27 PM
mirror windows shared over Samba to linux High-Hopes Linux - Networking 3 02-09-2005 06:53 PM
Windows XP sees SCSI drive as File Type: RAW fof3 General 3 11-30-2004 02:13 PM
Windows sees Samba server but... Moribund Linux - Newbie 6 02-20-2004 04:25 AM
Samba sees Windows but not vice versa Jeffssac Linux - Networking 6 06-26-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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