1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/net/samba-devel/files
Chris Piazza 9994a0349b Add a patch to fix a problem with very low write speeds with
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>
1999-09-24 04:29:42 +00:00
..
patch-aa upgraded to 2.0.2 1999-02-09 14:06:53 +00:00
patch-ab Version up (Samba-2.0.0) 1999-01-18 02:34:06 +00:00
patch-ac Version up (Samba-2.0.0) 1999-01-18 02:34:06 +00:00
patch-ae PR: ports/9953 1999-02-09 15:25:01 +00:00
patch-af PR: ports/9953 1999-02-09 16:24:55 +00:00
patch-ag Upgraded to samba-2.0.5a. 1999-07-23 06:41:43 +00:00
patch-ah Add a patch to fix a problem with very low write speeds with 1999-09-24 04:29:42 +00:00
README.FreeBSD added a note for Chinese users (about chinese/samba port) 1998-02-19 10:21:20 +00:00
samba.sh.sample Version up (Samba-2.0.0) 1999-01-18 02:34:06 +00:00
smb.conf.default Fix typo of sampe config file. 1999-06-23 15:24:43 +00:00

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>