View previous topic :: View next topic |
Author |
Message |
ShakyJake n00b
Joined: 20 Sep 2004 Posts: 46
|
Posted: Mon Mar 28, 2005 7:04 pm Post subject: Samba share help |
|
|
Okay, first of all I've already searched for help on this and every example I've used just doesn't work.
Here is the problem I'm running into: I can see the Windows boxes from Linux, can browse their drives, etc. However, the Windows machines can never see the Linux box. EVER (as in the Linux box never shows up in Network Neighborhood on the Win machines). I've been fighting this off and on for a few months now and I'm determined to get this working.
Specifically, what I'm attempting to do is share my home directory (/home/shakyjake). All the systems have the user name "ShakyJake" in an attempt to make things simple.
Can someone give me a simple working example of a smb.conf that allows files to be shared off a Linux box that's seeable to a couple of Windows machines? Just a bare bones example that will get it up and running.
Thanks. |
|
Back to top |
|
|
Riftwing Apprentice
Joined: 06 Oct 2002 Posts: 293
|
Posted: Mon Mar 28, 2005 7:26 pm Post subject: |
|
|
It's probably a result of master browser conflicts. Is Windows able to view shares on the linux box directly using the ip? _________________ Good, bad, I'm the guy with the gun. - Ash, Army of Darkness |
|
Back to top |
|
|
ShakyJake n00b
Joined: 20 Sep 2004 Posts: 46
|
Posted: Mon Mar 28, 2005 7:37 pm Post subject: |
|
|
Riftwing wrote: | It's probably a result of master browser conflicts. Is Windows able to view shares on the linux box directly using the ip? |
I will have to try that when I get back home. I seem to recall at one point, in the distant past, during my attempt to share files that I was able to manually go in via the ip address. Regardless, I'm trying to get a "standard" Windows type network up and running. I'll look into the master browser thingy.
Thanks. |
|
Back to top |
|
|
Riftwing Apprentice
Joined: 06 Oct 2002 Posts: 293
|
Posted: Mon Mar 28, 2005 7:59 pm Post subject: |
|
|
ShakyJake wrote: | Riftwing wrote: | It's probably a result of master browser conflicts. Is Windows able to view shares on the linux box directly using the ip? |
I will have to try that when I get back home. I seem to recall at one point, in the distant past, during my attempt to share files that I was able to manually go in via the ip address. Regardless, I'm trying to get a "standard" Windows type network up and running. I'll look into the master browser thingy.
Thanks. |
If you can view the linux shares directly using the ip, it's obviously a netbios problem that could be solved by winning the master browser election.
Add
Code: | os level = 255
local master = yes
preferred master = yes
|
to your smb.conf. This should guarantee that samba is able to win master browser elections and the samba server should show up in network neighborhood. _________________ Good, bad, I'm the guy with the gun. - Ash, Army of Darkness |
|
Back to top |
|
|
ShakyJake n00b
Joined: 20 Sep 2004 Posts: 46
|
Posted: Mon Mar 28, 2005 10:40 pm Post subject: |
|
|
Well, I feel like a retard. The whole problem this entire time was due to SMBD and NMBD weren't started. Emerging SAMBA and editing the smb.conf file wasn't the only steps involved in setting the thing up. |
|
Back to top |
|
|
ShakyJake n00b
Joined: 20 Sep 2004 Posts: 46
|
Posted: Mon Mar 28, 2005 10:48 pm Post subject: |
|
|
Speaking of which, what is the proper way for getting SMBD and NMBD to start during the boot process? Is slapping them in local.start good enough? |
|
Back to top |
|
|
spike666 n00b
Joined: 17 Dec 2003 Posts: 70 Location: Brooklyn, NY
|
Posted: Thu Mar 31, 2005 5:37 am Post subject: |
|
|
Quote: | Speaking of which, what is the proper way for getting SMBD and NMBD to start during the boot process? Is slapping them in local.start good enough? |
you want to do:
Code: | # rc-update add samba default |
_________________ Spike Grobstein
spike.grobste.in |
|
Back to top |
|
|
|