При входе из Windows на имя компьютера \\tubunt10, samba просит ввести пароль для пользователя Гость, и с любым паролем и пустым не пускает. Если из Windows входить по ip на \\192.168.100.99 пароль не просит, ресурсы видны.
Как разрешить всем Windows компьютерам подключаться без пароля, к компьютеру по NETBIOS имени, на котором samba, а не по ip?
Ubuntu 11.10, сейчас smb.conf:
[global]
workgroup = COMPANY
netbios name = tubunt10
security = share
guest ok = yes
guest account = nobody
null passwords = yes
load printers = yes
printing = cups
printcap name = cups
domain logons = No
domain master = No
wins support = No
hosts allow = all
dns proxy = no
log file = /var/log/sambalog.%m
log level = 3
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
# map to guest = bad user
usershare allow guests = yes
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
; share modes = no
[printers]
comment = All Printers
browseable = yes
public = yes
path = /var/spool/samba
use client driver = yes
printable = yes
guest ok = yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
write list = root, utuser, @lpadmin
[share]
guest ok = yes
path = /home/share
read only = no
public = yes
writable = yes