Hi samba team, I discovered a problem with nmbd version 3.4.7. When I configure nmbd to become local master browser I always miss a windows 7 host ip in a call of nmblookup '*' and nmblookup -M -- -. I am using three hosts: 1) Ubuntu 10.4 with samba 3.4.7 installed i A python-samba - Python bindings for Samba i samba - SMB/CIFS file, print, and login server for i samba-common - common files used by both the Samba server i samba-common-bin - common files used by both the Samba server i A samba-ldb-tools - LDAP-like embedded database - tools i samba4 - LanManager-like file server for Unix (vers i samba4-common-bin - Samba 4 common files used by both the serv i system-config-samba - GUI for managing samba shares and users
Hi samba team, I discovered a problem with nmbd version 3.4.7. When I configure nmbd to become local master browser I always miss a windows 7 host ip in a call of nmblookup '*' and nmblookup -M -- -. I am using three hosts: 1) Ubuntu 10.4 with samba 3.4.7 installed (192.168.3.1) 2) A Win7 host in a virtual machine directly connected to the local network (192.168.3.30) 3) A sh4 embedded platform running samba 3.4.5 (192.168.3.22) When I let host 1 become local master browser by setting the follwing variables in smb.conf then I can see in the log.nmbd and in wireshark that it became master browser: local master = yes preferred master = yes os level = 65 But each call of nmblookup on host 3 and also host 1 yields: $ nmblookup '*' interpret_interface: using netmask value 8 from config file on interface lo added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 added interface eth1 ip=fe80::210:18ff:fe4e:5400%eth1 bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff:: added interface eth1 ip=192.168.3.1 bcast=192.168.3.255 netmask=255.255.255.0 querying * on 127.255.255.255 Got a positive name query response from 127.0.0.1 ( 192.168.3.1 ) Got a positive name query response from 127.0.0.1 ( 127.0.0.1 ) 192.168.3.1 *<00> 127.0.0.1 *<00> $ nmblookup -M -- - interpret_interface: using netmask value 8 from config file on interface lo added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 added interface eth1 ip=fe80::210:18ff:fe4e:5400%eth1 bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff:: added interface eth1 ip=192.168.3.1 bcast=192.168.3.255 netmask=255.255.255.0 querying __MSBROWSE__ on 127.255.255.255 Got a positive name query response from 127.0.0.1 ( 192.168.3.1 ) 192.168.3.1 __MSBROWSE__<01> When I don't let host 1 become master then the Win7 host overcomes this task and yields both hosts, which provide CIFS shares: $ nmblookup '*' interpret_interface: using netmask value 8 from config file on interface lo added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 added interface eth1 ip=fe80::210:18ff:fe4e:5400%eth1 bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff:: added interface eth1 ip=192.168.3.1 bcast=192.168.3.255 netmask=255.255.255.0 querying * on 127.255.255.255 Got a positive name query response from 127.0.0.1 ( 192.168.3.1 ) Got a positive name query response from 127.0.0.1 ( 127.0.0.1 ) 192.168.3.1 *<00> 127.0.0.1 *<00> $ nmblookup -M -- - interpret_interface: using netmask value 8 from config file on interface lo added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 added interface eth1 ip=fe80::210:18ff:fe4e:5400%eth1 bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff:: added interface eth1 ip=192.168.3.1 bcast=192.168.3.255 netmask=255.255.255.0 querying __MSBROWSE__ on 127.255.255.255 querying __MSBROWSE__ on 192.168.3.255 Got a positive name query response from 192.168.3.30 ( 192.168.3.30 ) 192.168.3.30 __MSBROWSE__<01> Are there any solutions? Best Regards
Created attachment 5846 [details] Network traffic of nmblookup host 1 becomes local master browser
Created attachment 5847 [details] log.nmbd
Created attachment 5848 [details] smb.conf