[Samba] Samba BDC rejected or stuck waiting
julien Chaffraix
julien_chaffraix at yahoo.fr
Wed Oct 18 21:42:13 GMT 2006
Hello all,
First, I am new to Samba so maybe I will made some mistakes in my
interpretation, so be cool.
since an migration from my BDC NOVA (from linux to FreeBSD, which also
upgraded Samba), my BDC can't remain BDC more that a couple of days. The
network it is in is a class-B heterogene network (both linux and
windows). The server is alone on the network and no authentification is
done on the computers on the network.
I have enquiried a lot on the problem and it seems that some users
(around 10 computers mostly Windows XP workstation) refuse the
registration paquet for being master browser :
[2006/10/18 23:35:20, 0]
nmbd/nmbd_nameregister.c:register_name_response(130)
register_name_response: server at IP 10.0.191.195 rejected our name
registration of MYDOMAIN<1d> IP 10.0.1.246 with error code 6.
[2006/10/18 23:35:20, 5]
nmbd/nmbd_nameregister.c:register_name_response(147)
register_name_response: failure in registering name MYDOMAIN<1d> IP
10.0.1.246 with 10.0.255.255.
[2006/10/18 23:35:20, 0]
nmbd/nmbd_become_lmb.c:become_local_master_fail2(417)
become_local_master_fail2: failed to register name MYDOMAIN<1d> on
subnet 10.0.1.246. Failed to become a local master browser.
[2006/10/18 23:35:20, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for MYDOMAIN on subnet
10.0.1.246: found.
[2006/10/18 23:35:20, 2]
nmbd/nmbd_become_lmb.c:unbecome_local_master_browser(280)
unbecome_local_master_browser: unbecoming local master for workgroup
MYDOMAIN on subnet 10.0.1.246
This seems to block for a while the master browser registration process.
It restarts but the server seems to be stuck waiting potential browser
state and a windows computer takes its role.
[2006/10/18 23:23:29, 2] nmbd/nmbd_elections.c:run_elections(204)
run_elections: >>> Won election for workgroup MYDOMAIN on subnet
10.0.1.246 <<<
[2006/10/18 23:23:29, 2]
nmbd/nmbd_become_lmb.c:become_local_master_browser(525)
become_local_master_browser: Awaiting potential browser state. Current
state is 5
I add my configuration and the conversation that I think lead to the
problem.
Any help would be great,
Julien Chaffraix
nova# testparm
Load smb config files from /usr/local/etc/smb.conf
Processing section "[partage]"
Loaded services file OK.
Server role: ROLE_DOMAIN_BDC
Press enter to see a dump of your service definitions
[global]
workgroup = MYDOMAIN
server string = Serveur DHCP, DNS, News ...
map to guest = Bad User
passdb backend = tdbsam
log level = 3
syslog = 0
log file = /var/log/samba/log.%m
domain logons = Yes
os level = 230
preferred master = Yes
domain master = No
dns proxy = No
hosts allow = 10.0., 127.
[partage]
comment = Partage de Nova
path = "/home/partage"
guest ok = Yes
18:46:23.071019 IP (tos 0x0, ttl 64, id 21850, offset 0, flags [none],
proto: UDP (17), length: 96) nova.mydomain.netbios-ns >
10.0.255.255.netbios-ns: [bad udp cksum c47b!]
>>> NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST
TrnID=0xDA3
OpCode=5
NmFlags=0x11
Rcode=0
QueryCount=1
AnswerCount=0
AuthorityCount=0
AddressRecCount=1
QuestionRecords:
Name=MYDOMAIN NameType=0x1D (Master Browser)
QuestionType=0x20
QuestionClass=0x1
ResourceRecords:
Name=MYDOMAIN NameType=0x1D (Master Browser)
ResType=0x20
ResClass=0x1
TTL=0 (0x0)
ResourceLength=6
ResourceData=
AddrType=0x0
Address=10 (0xa).0 (0x0).1 (0x1).246 (0xf6)
18:46:23.071515 IP (tos 0x0, ttl 128, id 47604, offset 0, flags [none],
proto: UDP (17), length: 90) user.mydomain.netbios-ns >
nova.mydomain.netbios-ns:
[udp sum ok]
>>> NBT UDP PACKET(137): REGISTRATION; NEGATIVE; RESPONSE; UNICAST
TrnID=0xDA3
OpCode=5
NmFlags=0x58
Rcode=6
QueryCount=0
AnswerCount=1
AuthorityCount=0
AddressRecCount=0
ResourceRecords:
Name=MYDOMAIN NameType=0x1D (Master Browser)
ResType=0x20
ResClass=0x1
TTL=0 (0x0)
ResourceLength=6
ResourceData=
AddrType=0x4000
Address=10 (0xa).0 (0x0).189 (0xbd).237 (0xed)
More information about the samba
mailing list