mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-07 22:58:11 +00:00
9994a0349b
samba on freebsd. Following is description made by one of the Samba developers: "The problem is we switched to using recv() with the MSG_WAITALL flag instead of read(). This makes Samba faster on most systems. On FreeBSD it causes a massive slowdown and I don't know why. To fix it, change the definition of MSG_WAITALL to be zero in lib/util_sock.c and recompile 2.0.5a. I'm hoping someone from FreeBSD will get back to me with some explanation. Regards, Jeremy Allison, Samba Team." This problem where observed by almost all samba-2.0.5a users and typically it led to 10-20x decrease in write speed. PR: 13894 Submitted by: Maxim Sobolev <sobomax@altavista.net> |
||
---|---|---|
.. | ||
patch-aa | ||
patch-ab | ||
patch-ac | ||
patch-ae | ||
patch-af | ||
patch-ag | ||
patch-ah | ||
README.FreeBSD | ||
samba.sh.sample | ||
smb.conf.default |
If you want to use samba ports, 1. Copy /usr/local/etc/smb.conf.default to /usr/local/etc/smb.conf, and edit it. 2. Copy /usr/local/etc/rc.d/samba.sh.sample to /usr/local/etc/rc.d/samba.sh 3. Type /usr/local/etc/rc.d/samba.sh or reboot. See document files in /usr/local/share/doc/samba and example config files in /usr/local/share/examples/samba for details. FreeBSD Samba ports for localization and encrypt passwords support are no longer provided because these supports have been integrated into the original distribution since 1.9.18. If you're Western European or Japanese Windows users, please set "client code page" parameter in smb.conf (1.9.18 does not support Chinese Windows. If you want to use Chinese samba, please use chinese/samba port). See smb.conf.sample for details. If you want to use NT4+SP3 or Win95+updates clients, set "encrypt passwords" parameter to yes and use smbpasswd [username] to use /usr/local/private/smbpasswd for authentication. FreeBSD SAMBA ports maintainer: Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>