Linux 版 (精华区)
发信人: netiscpu (说不如做), 信区: Unix
标 题: [M] Samba TCP_NODELAY
发信站: 紫 丁 香 (Sun May 17 19:18:44 1998), 转信
本文整理自Linux-admin Mailling-list.
[问题] Samba TCP_NODELAY
I heve strange problem with Samba on Redhat 5.0.
When I'm using default smb.conf and killall -HUP smbd
in /var/log/samba-log. I'got message that TCP_NODELAY
unknown .
What's up???
TIA.
[回答1]
Does smb.conf contain TCP_NODELAY in the `socket options =' line? It
may be that your version of smbd has been compiled without this option
defined.
--
Glynn Clements <glynn@sensei.co.uk>
[回答2]
I tried both.
The strange thing is that it's Redhat5.0 RPM.
It must work, right?
[回答3]
Not necessarily. It should work right, but it's conceivable that the
default smb.conf file isn't suitable for the corresponding smbd
binary.
If the error message is
Unknown socket option TCP_NODELAY
then smbd has been compiled on a system where TCP_NODELAY is
undefined, and consequently the smbd binary doesn't accept that
option.
OTOH, if the error message is
Failed to set socket option TCP_NODELAY
then smbd supports the option, but calling
setsockopt(fd,IPPROTO_TCP,TCP_NODELAY,...)
failed.
You don't say which version of Samba you are using. The above is for
1.9.18, but it doesn't seem like it would have changed much recently.
--
Glynn Clements <glynn@sensei.co.uk>
[完]
--
Enjoy Linux!
-----It's FREE!-----
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: mtlab.hit.edu.cn]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.872毫秒