-   Linux - Networking (
-   -   Samba only access by ip but not hostname/server string (

ted_chou12 01-31-2011 06:29 PM

Samba only access by ip but not hostname/server string
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:

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
interfaces = eth0 lo

For example:
\\nas\file... doesnt work
\\ works however.
I tried to search this problem online, but there is very little information and answered questions regarding. Thanks!
Ted C.

szboardstretcher 02-01-2011 02:24 PM

I use the direct IP address as is mentioned above.

I have not been able to get FreeNAS to be reachable by its netbios name either.

ted_chou12 02-01-2011 11:35 PM

Hi, I have found the solution to this problem, you can go ahead and try:
edit this line in smb.conf:

interfaces = eth0

digotoso 04-06-2011 12:25 AM

Save my night
OMG! I can't believe that's only this... Thanks a lot!

All times are GMT -5. The time now is 03:53 AM.