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

ted_chou12 01-31-2011 07: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 03: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-02-2011 12:35 AM

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 01: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 09:08 AM.