LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-10-2006, 08:21 AM   #1
rchapman
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
Samba "Master Browser" problems


I am having some strange problems with Samba. Some of these relate to erratic browsing of computers, printers and shares on the network. I also have some shares on the Linux machine which I can't write to from windows - though they clearly appear to be set to "everyone can write".

Here are some log file entries which might give someone a clue as to the basic problem. These appear every day in the logwatch:

--------------------- samba Begin ------------------------


**Unmatched Entries**
lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected : 6 Time(s)
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name AARDVARKWG<1b> for the workgroup AARDVARKWG. Unable to sync browse lists in this workgroup. : 95 Time(s)
nsswitch/winbindd_util.c:init_domain_list(327) Could not fetch sid for our domain AARDVARKWG : 1 Time(s)
param/loadparm.c:service_ok(2622) No path in service CLP510 - using /tmp : 1 Time(s)
param/loadparm.c:service_ok(2622) No path in service CLP510 Mono - using /tmp : 1 Time(s)
param/loadparm.c:service_ok(2622) No path in service Lexmark - using /tmp : 1 Time(s)
printing/print_cups.c:cups_queue_get(900) Unable to get jobs for ipp://localhost/printers/CLP510 Mono - client-error-not-found : 18 Time(s)

---------------------- samba End -------------------------

I am also getting these errors (below) in the windows event logs. Note that Aardvark-ce is the samba machine:

Event Type: Error
Event Source: MRxSmb
Event Category: None
Event ID: 8003
Date: 1/11/2006
Time: 4:53:18 PM
User: N/A
Computer: RICHARD
Description:
The master browser has received a server announcement from the computer AARDVARK-CE that believes that it is the master browser for the domain on transport NetBT_Tcpip_{BADA57C1-69F3-4D. The master browser is stopping or an election is being forced.

Many thamks

Richard.
 
Old 11-12-2006, 07:41 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
For getpeername failed error; you can mention smb port nos in your smb.conf, e.g.
Code:
smb ports = 139
for "Unable to sync browse lists" you got to mention
Code:
domain master = yes
in your smb.conf

overall with the below mentioned code; you can solve most of ya problems;
Code:
os level = 35
preferred master = yes
local master = yes
domain master = yes
But the above code depends on ya requirements; you should only persist with them if you want your local samba box to be a domain master(PDC) & a master browser for your workgroup. With os level 35; its always gonna win browsing election. So thereafter you should not worry about the logs empahsizing election details.
 
Old 12-15-2006, 01:46 AM   #3
rchapman
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Re: Samba Problems

I thought I had replied to this - but it seems not. Your suggestions workied perfectly - and all problems are resolved. Many thanks. I was surprised that I had to use:
domain master = yes
even though my network is configured as a workgroup rather than a domain. I still had to set the domain master to get rif of some of the errors. I think that samba is now working perfectly for me.

Thanks Again

Richard.
 
  


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
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM
Counter Strike 1.6 "not Adding Master Servers" hlds Problem danielscott Linux - Games 0 12-07-2005 11:28 AM
FTP Master Site and "fan out" options bshearer *BSD 1 07-02-2005 08:47 PM
ut2003 cant play internet games. freeses at "querying master server" qwijibow Linux - Games 12 06-28-2004 04:20 AM
samba problems - "PORT 139" vwhk Linux - Networking 1 02-15-2002 04:23 AM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration