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

ted_chou12 ted_chou12 at hotmail.com
Tue Feb 1 14:18:06 MST 2011


Hi, sorry, I finally got it to work finally, with changing the line:<br />
interfaces = eth0 192.168.2.101/24<br />
it finally do show up in my network places! and accessible through hostname.
But there is a slight problem, my network streaming media player (play files
off the shared folder in local network) can see the machine! but doesn't
find any files in it, here is the log:<br />
<blockquote>
//This is a normal computer connection:<br />
[2011/02/01 20:58:51.218145,  1]
smbd/service.c:1070(make_connection_snum)<br />
  ted-laptop (192.168.2.102) connect to service main initially as user root
(uid=0, gid=0) (pid 9495)<br />
[2011/02/01 21:14:46.513152,  1]
smbd/service.c:1070(make_connection_snum)<br />
  ted-laptop (192.168.2.102) connect to service root initially as user root
(uid=0, gid=0) (pid 9495)<br />
//This is the network streaming media player<br />
[2011/02/01 08:53:01.796675,  1]
smbd/service.c:1070(make_connection_snum)<br />
  192.168.2.100 (192.168.2.100) connect to service root initially as user
root (uid=0, gid=0) (pid 6114)<br />
[2011/02/01 08:53:01.814535,  1] smbd/service.c:1251(close_cnum)<br />
  192.168.2.100 (192.168.2.100) closed connection to service root<br />
[2011/02/01 08:53:17.596589,  1]
smbd/service.c:1070(make_connection_snum)<br />
  192.168.2.100 (192.168.2.100) connect to service main initially as user
root (uid=0, gid=0) (pid 6116)<br />
[2011/02/01 08:53:17.681783,  1] smbd/service.c:1251(close_cnum)<br />
  192.168.2.100 (192.168.2.100) closed connection to service main<br />
</blockquote>
The connection seems to close off in a few seconds, what is likely to be the
issue?
Thanks,
Ted
-- 
View this message in context: http://samba.2283325.n4.nabble.com/Samba-only-access-by-ip-but-not-hostname-server-string-tp3249630p3252978.html
Sent from the Samba - General mailing list archive at Nabble.com.


More information about the samba mailing list