[Samba] query_name_response: Multiple (2)

Pascal Legrand pascal.legrand at univ-orleans.fr
Fri Feb 5 14:59:35 UTC 2016


> Can you post the smb.conf from '192.168.152.237'
as i said before there is only one samba server with 3 network interface

The smb.conf

# IDENTIFICATION
netbios name = Samba
workgroup = Samba_Domain
server string = %h

#Informations annuaire LDAP
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"

# Securite
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

#Connection au Domaine
Domain logons = yes
security = user
local master = yes
os level = 255
prefered master = yes
domain master = yes
logon script = logon.bat
#Eviter les profils itinerants
logon path =
#logon home =
# Force le lecteur du home directory à "m" . Par defaut il est à "z"
logon drive = m:

wins support = Yes

#Information de journalisation
log file = /var/log/samba/log	
debug level = 0

#Optimisation
socket options = TCP_NODELAY SO_KEEPALIVE

# Serveur de temps (net time \\serveur /set /y)
time server = yes

#dos charset = CP850
dos charset = CP850
unix charset = ISO8859-15

#Suppression de certains messages d'erreur
# printing/print_cups.c:cups_connect(68)
# Unable to connect to CUPS server localhost:631 - Connexion refusée
load printers = no
printing = bsd
printcap name = /dev/null
# getpeername failed.......
# smb ports = 139
#process_usershare_file: stat of /var/lib/samba/usershares/blabla 
failed. Permission non accordée
usershare path =



# le parametre "lanman auth" est maintenant par defaut a "no" ce qui a 
pour effet de  desactiver lanman auth.
# Pour cette raison l'attribut sambaLMPassword ne sera pas genere
# L'effet de cette modification est que les anciens clients windows ne 
pouront pas se connecter
# mettre a yes pour le reactiver
lanman auth = yes


Here is the network configuration :


ifconfig

eth0    inet adr:192.168.151.237
eth0.2  inet adr:192.168.39.237
eth0.3  inet adr:192.168.152.237

-- 
Pascal




More information about the samba mailing list