[Samba] Access denied based on Netbios Alias

cscott at speakeasy.net cscott at speakeasy.net
Wed Dec 29 19:15:06 GMT 2004


Every week or so, Samba stops answering to a server's FQ host name via Netbios. However, it will continue to answer on an alias declared at "netbios aliases" in smb.conf. 

"net view \\name01" will result in "Access Denied", and "net view \\name0" is successful.

To be clear, both aliases point to the same machine. Restarting the smbd service fixes the problem temporarily. Both aliases function via DNS, and WINS resolution is correct for both aliases. Does any have any ideas? 

FQ host name:  name01

[smb.conf] (global-only)

workgroup = windomain
netbios aliases = name0
security = server
encrypt passwords = yes
password server = windowsdc02, windowsdc01
smb passwd file = /etc/samba/smbpasswd
mangle case = no
interfaces =  xxx.xxx.xxx.xxx
wins server = xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx
server string = name01 
template shell = /bin/false
log file = /var/log/samba/%m.log
max log size = 200
log level = 2
announce version = 4.0
dns proxy = no
name resolve order = hosts wins bcast
socket options = TCP_NODELAY
read raw = yes
getwd cache = yes
invalid users = root
username map = /etc/samba/usermap
time server = yes


TIA,
Casey




More information about the samba mailing list