Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba share help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ShakyJake
n00b
n00b


Joined: 20 Sep 2004
Posts: 46

PostPosted: Mon Mar 28, 2005 7:04 pm    Post subject: Samba share help Reply with quote

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
View user's profile Send private message
Riftwing
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 293

PostPosted: Mon Mar 28, 2005 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShakyJake
n00b
n00b


Joined: 20 Sep 2004
Posts: 46

PostPosted: Mon Mar 28, 2005 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Riftwing
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 293

PostPosted: Mon Mar 28, 2005 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShakyJake
n00b
n00b


Joined: 20 Sep 2004
Posts: 46

PostPosted: Mon Mar 28, 2005 10:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShakyJake
n00b
n00b


Joined: 20 Sep 2004
Posts: 46

PostPosted: Mon Mar 28, 2005 10:48 pm    Post subject: Reply with 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?
Back to top
View user's profile Send private message
spike666
n00b
n00b


Joined: 17 Dec 2003
Posts: 70
Location: Brooklyn, NY

PostPosted: Thu Mar 31, 2005 5:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum