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


  Search this Thread
Old 05-12-2004, 01:52 PM   #1
Registered: Nov 2003
Posts: 86

Rep: Reputation: 15
Samba 3.0.2a troubles

Samba is working, but not like I want.

I am running samba 3.0.2a, installed via the MDK 10 installation cd's. I might just go get the source and compile the latest version if I can't resolve this.

I ran swat to set up my configuration. I couldn't get samba to work. According to the status page, it says that smb is not running, and when I click on the start smb button, the screen refreshes and it still says not running.

Also on my W2K box when I have the MDK box plugged in the the switch, the Network Neighborhood hangs on me and I have to force quit the window. But when I unplug the MDK box, the Network Neighborhood opens right up and everything is ok. (empty but ok)

I googled setting up samba and I found this link

As per the instructions there I wrote the following for my smb.conf

# Global parameters
	workgroup = WPOMONA
	netbios name = SAMBA
	encrypt passwords = yes

	read only = No
	browseable = No

	path = /home/gravyman
	browseable = no
	valid users = @admins, root, gravyman
	write list = @admins, root, gravyman
	read only = No
Now I restart smb and on my W2K box I can map a network drive to my home folder share.

I can move files back and fourth and everything seems ok.
Except for the following:
> In swat is says that smb is not running even though it is.
> I still cannot browse the Network Neighborhood in W2K
> When I tried to setup printing, using a shared printer on the W2K box, everything looked fine. I set up the printer and tried to print a test page. I waited for like 10 mins and then tried a few more times. Nothing so I said forget it, Ill deal with it later when I have a little more time. That was yesterday morning at about 9am. Today at 11am 5 test pages spit out of the printer. 26 hours later. Something is not right.

I have set up this same configuration when I was running Redhat and Mandrake 9.2 with no problems.

Any suggestions?

Old 05-12-2004, 04:44 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
sounds like you may be having firewall issues. check the firewall settings on both boxes, this could well be the cause of the delayed printing and the network neighborhood problems. as for the swat problem, i can't really help there, i don't use it. i've seen alot of people here have success w/it. maybe a little search for swat bugs, or something similar will turn up results.
good luck.
Old 05-12-2004, 05:21 PM   #3
Registered: Nov 2003
Posts: 86

Original Poster
Rep: Reputation: 15
I don't know why I didnt think of that!

I had upgraded my router a while back right before I upgraded Mandrake. The new router is using 192.168.1.x addresses, and the old one was using 192.168.2.x addresses so I had my W2K box firewall configured for the 192.168.2.x addresses.

I changed the settings and now I can print just fine. I can also get to the Network Neighborhood, but it is extremely slooooow. So I guess I have some tweaking to do.

Thanks Again!
Old 05-12-2004, 05:27 PM   #4
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
glad you got it sorted, just for future troubleshooting purposes, any network problem i have, the first step is to disable the firewalls. get things working, then configure the firewalls appropriately.
good luck.


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
Troubles with samba butler Linux - Software 5 11-30-2004 11:32 PM
Samba Troubles VorlonShadow Linux - Newbie 4 11-16-2004 03:41 PM
samba DC troubles alec77 Linux - Networking 2 07-22-2004 06:51 AM
Samba troubles... Grim Reaper Linux - Software 13 04-01-2004 07:11 PM
samba client troubles MThunter Linux - Networking 8 07-07-2003 01:05 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration