[Samba] query_name_response: Multiple (2)

Rowland penny rpenny at samba.org
Thu Mar 3 09:41:04 UTC 2016


On 03/03/16 09:16, Pascal Legrand wrote:
>> On 03/03/16 08:23, Pascal Legrand wrote:
>>> Hello,
>>>
>>> does someone could explain me what means this message :
>>> query_name_response: Multiple (2)....
>>>
>>>
>>> example :
>>>
>>> samba4 nmbd[88458]: query_name_response: Multiple (2) responses
>>> received for a query on subnet 192.168.151.237 for name 
>>> SAMBA_DOMAIN<1d>.
>>>
>>> samba4 nmbd[88458]: This response was from IP 192.168.152.237,
>>> reporting an IP address of 192.168.152.237.
>>>
>>>
>>> The server has 3 nic (vlans) and here is a part of the configuration :
>>>
>>> /etc/network/interfacesinterfaces :
>>> eth0   :192.168.151.237
>>> eth0.2 :192.168.39.237
>>> eth0.3 :192.168.152.237
>>>
>>> /etc/samba/smb.conf :
>>> interfaces = 127.0.0.1/8, 192.168.39.0/24, 192.168.151.0/24,
>>> 192.168.152.0/24
>>> bind interfaces only = Yes
>>> hosts allow = 127., 192.168.39., 192.168.151., 192.168.152.
>>>
>>> netstat -ntlpu :
>>> tcp - 127.0.0.1:445
>>> tcp - 192.168.39.237:445
>>> tcp - 192.168.151.237:445
>>> tcp - 192.168.152.237:445
>>> tcp - 127.0.0.1:139
>>> tcp - 192.168.39.237:139
>>> tcp - 192.168.151.237:139
>>> tcp - 192.168.152.237:139
>>>
>>> udp - 192.168.39.255:137
>>> udp - 192.168.39.237:137
>>> udp - 192.168.151.255:137
>>> udp - 192.168.151.237:137
>>> udp - 192.168.152.255:137
>>> udp - 192.168.152.237:137
>>> udp - 0.0.0.0:137
>>> udp - 192.168.39.255:138
>>> udp - 192.168.39.237:138
>>> udp - 192.168.151.255:138
>>> udp - 192.168.151.237:138
>>> udp - 192.168.152.255:138
>>> udp - 192.168.152.237:138
>>> udp - 0.0.0.0:138
>>>
>>>
>>> I cant understand why i've got this.
>>>
>>> Thanks for your help
>>>
>>
>> Can we see all of your smb.conf
>>
>> Rowland
>>
>>
>
> /etc/samba/smb.conf
>
> netbios name = Samba
> workgroup = Samba_Domain
> server string = %h
>
> passdb backend = ldapsam:"ldap://192.168.151.247"
> ldap suffix = ou=Samba,dc=annuaire,dc=fr
> ldap admin dn = cn=root,dc=annuaire,dc=fr
> ldap user suffix = ou=Users
> ldap group suffix = ou=Groups
> ldap machine suffix = ou=Computers
> ldap ssl = off
> ldap delete dn = no
> ldap passwd sync = yes
> encrypt passwords = yes
> add machine script = /usr/sbin/ldapaddmachine '%u' "machines"
>
> hosts allow = 127. 192.168.39. 192.168.151. 192.168.152.
> interfaces = 127.0.0.1/8 192.168.39.0/24 192.168.151.0/24 
> 192.168.152.0/24
> bind interfaces only = yes
>
> Domain logons = yes
> security = user
> local master = yes
> os level = 255
> prefered master = yes
> domain master = yes
> logon script = logon.bat
> logon path =
> logon drive = m:
>
> wins support = Yes
>
> log file = /var/log/samba/log
> debug level = 0
>
> socket options = TCP_NODELAY SO_KEEPALIVE
>
> time server = yes
>
> dos charset = CP850
> unix charset = ISO8859-15
>
> load printers = no
> printing = bsd
> printcap name = /dev/null
> usershare path =
>
> lanman auth = yes
>
> #=============
> [netlogon]
>         comment = Service de connexion au domaine
>         path  = /home/partages/netlogon
>         browsable = no
>         read only = yes
>         write list = Administrateur
>
> #=============
> [homes]
>         comment = Repertoire personnel
>         browsable = no
>         valid users = %S
>         read only = no
>         veto files = /copy.exe/host.exe/autorun.inf/RECYCLER/
>

OK, this is down to 'master browser' elections and these lines:

interfaces = 127.0.0.1/8 192.168.39.0/24 192.168.151.0/24 192.168.152.0/24
bind interfaces only = yes

I suggest you read 'man smb.conf'

They are harmless and can be ignored.

Rowland




More information about the samba mailing list