[Samba] Samba only access by ip but not hostname/server string

Home neil at neilandjo.com
Tue Feb 1 09:55:53 MST 2011


This is likely an issue related to you dns configuration, can you post some helpful info about your router/dhcp/dns setup ?

Sent from my iPhone

On Jan 31, 2011, at 3:26 PM, ted_chou12 <ted_chou12 at hotmail.com> wrote:

> 
> Hi, I am using samba version 3 (probably), and the problem is that the linux
> based nas can only be accessed via its ip 192.168.x.x but not its hostname
> /server string appointed by the smb.conf file:
> [code]
> [global]
> netbios name = NAS
> server string = NAS
> smb passwd file = /etc/smbpasswd
> security = SHARE
> workgroup = WORKGROUP
> encrypt passwords = true
> short preserve case = yes
> preserve case = yes
> guest account = ftp
> guest ok = yes
> force user = root
> force group = root
> socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
> interfaces = eth0 lo
> [/code]
> I tried to search this problem online, but there is very little information
> and answered questions regarding.
> Thanks!
> Ted C.
> -- 
> View this message in context: http://samba.2283325.n4.nabble.com/Samba-only-access-by-ip-but-not-hostname-server-string-tp3249630p3249630.html
> Sent from the Samba - General mailing list archive at Nabble.com.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list