LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba "Master Browser" problems (https://www.linuxquestions.org/questions/linux-networking-3/samba-master-browser-problems-500324/)

rchapman 11-10-2006 08:21 AM

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.

amitsharma_26 11-12-2006 07:41 AM

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.

rchapman 12-15-2006 01:46 AM

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.


All times are GMT -5. The time now is 04:50 AM.