Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mysterious Error: Samba Can't find self

Status
Not open for further replies.

nbjayme

Programmer
Jun 25, 2002
13
PH
My Computer is the Local Master Browser of MIS workgroup and Samba Cannot find itself:

This is the log from nmbd:

Samba name server NBJAYME is now a local master browser for workgroup MIS on subnet 192.168.0.92

*****
[2005/05/11 08:19:17, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name MIS<1b> for the workgroup MIS.
Unable to sync browse lists in this workgroup.
[2005/05/11 08:34:36, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name MIS<1b> for the workgroup MIS.
Unable to sync browse lists in this workgroup.
 
Why not post your smb.conf ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Hello,

I mixed things up properly but I think the issue is still correct that Samba cannot find itself ---> (Samba Server).

I am on Linux with Samba acting as Local Master Browser to a workgroup. Our, PDC is Samba (replaced NT).

NMBD is complaining because it cannot see the Domain Master Browser.

Samba has a problem communicating to itself? :(

I can view all the other master browser in the network and acces per client only if *My machine is started before all other Win9x/XP computers in the office.* If I reboot, Samba will have a problem communicating with the other LMB.

workgroup = MIS
server string = nbjayme
interfaces = 192.168.0.92/24
security = SHARE
password server = 192.168.0.1
log file = /var/log/samba/%m.log
max log size = 50
name resolve order = bcast wins
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
preferred master = Yes
dns proxy = No
wins server = 192.168.0.1
remote announce = 192.168.0.1
remote browse sync = 192.168.0.1

All computers are under 192.168.0.X subnet. Computers are assigned a workgroup:
Agri
Mis
Eng
Fin
XP
Master

thanks for any help. :)
 
local master browser <> domain master browser, which is usually your pdc.

to see who your system thinks is the master for the workgroups try the following:

smbclient -N -L nbjayme

also with os level at 33 i think an xp machine may win the election....i think i have ours set at 63
 
Hello ,

:)

Sorry it took me some time to reply because I was trying out the last suggestion and observe how it goes.

I have set the os level to 65 even to 100 but the problem is still the same.

our PDC is under Workgroup MASTER and my Linux box is on WorkGroup MIS.

My Samba Server is suppose to be the Local Master Browser in Workgroup MIS but nmbd.log shows that Samba is having a hard time seeing the MIS Workgroup.

nmbd.log:

2005/05/27 17:28:10, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name MIS<1b> for the workgroup MIS.
Unable to sync browse lists in this workgroup.

I cannot see my own computer listed in Nautilus smb://mis

 
You may try to play with a LMHOSTS file.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Looks as though you are using your Samba server as a WINS server (wins server = 192.168.0.1)
Add:
wins support = yes (if you DO NOT have another WINS server on the network)
If you have others, just add them
winserver = 192.168.0.1 x.x.x.x x.x.x.x




&quot;If you always do what you've always done, you will always be where you've always been.&quot;
 
hello,

Thanks for actively replying to this post.

My computer is 192.168.0.92 (wins client) and the PDC (192.168.0.1) is configured to be a wins server.

(The PDC is a linux box, running Samba of course).

LMHOSTS might do the trick but it cannot cope in a dynamic network setup.

:(

According to my admin, if a master browser in a workgroup is shut down, Samba does not immediately refresh for a new master browser in the workgroup. If it's true, then the solution would be for SAMBA to locate for a new master browser in a workgroup if the previous one cannot be found.

Is samba not keeping cache of a workgroup while it cannot locate the master browser for that particular workgroup?

NBJayme

 
I think the setting you are looking for is

domain master = yes

(read man smb.conf for the details)

I set the following browser related settings:

os level = 65
preferred master = yes
local master = yes

If you want the samba to act as wins server, make sure all your clients point to it for the wins server and enable:

wins support = yes
wins server = your ip

(again check man smb.conf ... it's very illuminating)

You also will want to change to this:

name resolve order = wins bcast

I highly suggest using SWAT, the web config tool. It has online help, and every option is right there!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top