Samba namequery error
Piet Ekkebus
piet at ekky.org
Fri Nov 2 11:48:02 GMT 2001
Hi,
I have joined a RedHat-7.1 box with Samba 2.2.2 to a NT Domain, and
everything works perfect.
Except when I look in de log file I see a name query error every 5
minutes , and I don't know how to solve this problem.
The PDC-A is de primary domain controller and tux is the linux box with
samba.
I made u tcpdump on the same moment when I receive the error and it
seems that the NT box sends a unicast message 2 time's.
Maybe someone can help me to solve this problem thanks
[samba config file]
[global]
workgroup = DOMEINA
netbios name = TUX
server string = Linux is Great
hosts allow = 192.168.2. 127.
log file = /var/log/samba/%m.log
os level = 0
max log size = 0
security = domain
password server = *
encrypt passwords = yes
# debug level = 3
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
dns proxy = no
interfaces = 192.168.2.0/24
bind interfaces only = True
hosts allow = 192.168.2. 127.
interfaces = 192.168.2.0/24
wins support = no
# wins server = 192.168.2.2
remote announce = 192.168.2.255
# test
announce version = 2.0
announce as = NT workstaion
preferred master = False
domain master = False
browse list = No
[repository]
comment = Repository
path = /var/www/html/wdms/REPOSITORY
create mode = 664
directory mode = 777
mangle case = yes
case sensitive = no
preserve case = yes
default case = lower
short preserve case = yes
read only = no
public = no
writable = yes
force group = piet
force create mode = 664
write list = piet
valid users = piet
[log file on de samba box]
Aug 14 22:29:04 tux nmbd[2935]: [2001/08/14 22:29:04, 0]
nmbd/nmbd_namequery.c:query_name_response(105)
Aug 14 22:29:04 tux nmbd[2935]: query_name_response: Multiple (2)
responses received for a query on subnet 192.168.2.7 for name
DOMEINA<1d>.
Aug 14 22:29:04 tux nmbd[2935]: This response was from IP 192.168.2.2,
reportingan IP address of 192.168.2.2.
Aug 14 22:33:58 tux nmbd[2935]: [2001/08/14 22:33:58, 0]
nmbd/nmbd_namequery.c:query_name_response(105)
Aug 14 22:33:58 tux nmbd[2935]: query_name_response: Multiple (2)
responses received for a query on subnet 192.168.2.7 for name
DOMEINA<1d>.
Aug 14 22:33:58 tux nmbd[2935]: This response was from IP 192.168.2.2,
reportingan IP address of 192.168.2.2.
[tcpdump on the samba box]
22:29:04.599938 B arp who-has tux.mydom.org tell PDC-A.mydom.org
22:29:04.599938 > arp reply tux.mydom.org (0:50:8b:ec:29:56) is-at
0:50:8b:ec:29:56 (0:80:5f:c7:95:61)
22:29:04.599938 < PDC-A.mydom.org.netbios-ns >
tux.mydom.org.netbios-ns:NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE;
UNICAST
22:29:04.599938 < PDC-A.mydom.org.netbios-ns >
tux.mydom.org.netbios-ns:NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE;
UNICAST
22:33:58.219938 B arp who-has tux.mydom.org tell PDC-A.mydom.org
22:33:58.219938 > arp reply tux.mydom.org (0:50:8b:ec:29:56) is-at
0:50:8b:ec:29:56 (0:80:5f:c7:95:61)
22:33:58.219938 < PDC-A.mydom.org.netbios-ns >
tux.mydom.org.netbios-ns:NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE;
UNICAST
22:33:58.219938 < PDC-A.mydom.org.netbios-ns >
tux.mydom.org.netbios-ns:NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE;
UNICAST
Piet.
More information about the samba
mailing list