[Samba] Problems with wins server

Noc Phibee noc at phibee.net
Thu Nov 23 06:09:20 GMT 2006


Hi

i have a smaal problems ... :

I have two samba server connected by a VPN.

One, are the master, the config are:

[global]
   workgroup = LOCAL
   netbios name = SMB1
   server string = Linux Smb Server 1
   os level = 33
   log file = /var/log/samba/%m.log
   max log size = 500
   log level = 3
   map to guest = bad user
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain master = no
   dns proxy = no
   wins support = yes
   unix password sync=yes
   hosts allow = 192.168.0. 192.168.75. 192.160.150. 192.168.151. 
192.168.3. 127.

into the log i have:

[2006/11/23 07:01:50, 3] 
nmbd/nmbd_winsserver.c:wins_multihomed_register_query_fail(1097)
  wins_multihomed_register_query_fail: Registering machine at IP 
192.168.75.254 failed to answer query successfully for name SMB2<03>.


The second server are:
[global]
   workgroup = LOCAL
   netbios name = SMB2
   server string = Linux Smb Server 2
   os level = 33
   log file = /var/log/samba/%m.log
   max log size = 500
   log level = 3
   map to guest = bad user
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain master = no
   dns proxy = yes
   wins support = no
   wins server = 192.168.0.1
   wins proxy = yes
   unix password sync=yes

192.168.0.1 are the ip of the first server ....
my computer, on the network of Smb2 have in wins server the SMB2

into the log of smb2 i have:

Nov 23 07:01:50 gw nmbd[3768]:   register_name_response: WINS server at 
IP 192.168.0.1 rejected our name registration of SMB2<20> IP 
192.168.75.254 with error code 5.
Nov 23 07:01:50 gw nmbd[3768]: [2006/11/23 07:01:50, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Nov 23 07:01:50 gw nmbd[3768]:   standard_fail_register: Failed to 
register/refresh name SMB2<20> on subnet UNICAST_SUBNET
Nov 23 07:01:50 gw nmbd[3768]: [2006/11/23 07:01:50, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Nov 23 07:01:50 gw nmbd[3768]:   register_name_response: WINS server at 
IP 192.168.0.1 rejected our name registration of SMB2<03> IP 
192.168.75.254 with error code 5.
Nov 23 07:01:50 gw nmbd[3768]: [2006/11/23 07:01:50, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Nov 23 07:01:50 gw nmbd[3768]:   standard_fail_register: Failed to 
register/refresh name SMB2<03> on subnet UNICAST_SUBNET
Nov 23 07:01:50 gw nmbd[3768]: [2006/11/23 07:01:50, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)

and for all user:
Nov 23 07:03:48 gw nmbd[3768]: [2006/11/23 07:03:48, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Nov 23 07:03:48 gw nmbd[3768]:   Error - should be sent to WINS server
Nov 23 07:03:48 gw nmbd[3768]: [2006/11/23 07:03:48, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
Nov 23 07:03:48 gw nmbd[3768]:   process_name_refresh_request: unicast 
name registration request received for name DELL_7<20> from IP 
192.168.75.103 on subnet UNICAST_SUBNET.
Nov 23 07:03:48 gw nmbd[3768]: [2006/11/23 07:03:48, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Nov 23 07:03:48 gw nmbd[3768]:   Error - should be sent to WINS server
Nov 23 07:03:48 gw nmbd[3768]: [2006/11/23 07:03:48, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
Nov 23 07:03:48 gw nmbd[3768]:   process_name_refresh_request: unicast 
name registration request received for name DELL_7<03> from IP 
192.168.75.103 on subnet UNICAST_SUBNET.
Nov 23 07:03:48 gw nmbd[3768]: [2006/11/23 07:03:48, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Nov 23 07:03:48 gw nmbd[3768]:   Error - should be sent to WINS server
Nov 23 07:03:48 gw nmbd[3768]: [2006/11/23 07:03:48, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
Nov 23 07:03:48 gw nmbd[3768]:   process_name_refresh_request: unicast 
name registration request received for name LOCAL<00> from IP 
192.168.75.103 on subnet UNICAST_SUBNET.


where is my error ?

thanks



More information about the samba mailing list