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

2011-02-03 Thread ted_chou12

Hi, sorry, I finally got it to work finally, with changing the line:
interfaces = eth0 192.168.2.101/24
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:

//This is a normal computer connection:
[2011/02/01 20:58:51.218145,  1]
smbd/service.c:1070(make_connection_snum)
  ted-laptop (192.168.2.102) connect to service main initially as user root
(uid=0, gid=0) (pid 9495)
[2011/02/01 21:14:46.513152,  1]
smbd/service.c:1070(make_connection_snum)
  ted-laptop (192.168.2.102) connect to service root initially as user root
(uid=0, gid=0) (pid 9495)
//This is the network streaming media player
[2011/02/01 08:53:01.796675,  1]
smbd/service.c:1070(make_connection_snum)
  192.168.2.100 (192.168.2.100) connect to service root initially as user
root (uid=0, gid=0) (pid 6114)
[2011/02/01 08:53:01.814535,  1] smbd/service.c:1251(close_cnum)
  192.168.2.100 (192.168.2.100) closed connection to service root
[2011/02/01 08:53:17.596589,  1]
smbd/service.c:1070(make_connection_snum)
  192.168.2.100 (192.168.2.100) connect to service main initially as user
root (uid=0, gid=0) (pid 6116)
[2011/02/01 08:53:17.681783,  1] smbd/service.c:1251(close_cnum)
  192.168.2.100 (192.168.2.100) closed connection to service main

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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2011-02-03 Thread ted_chou12

Hi, my dns setup is 192.168.2.1, the ip address of the machine specifically
is 192.168.2.101. Is that what you are asking for?
-- 
View this message in context: 
http://samba.2283325.n4.nabble.com/Samba-only-access-by-ip-but-not-hostname-server-string-tp3249630p3252957.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


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

2011-02-01 Thread ted_chou12

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