Mike Squires
2000-Feb-15 20:24 UTC
samba 2.0.6 and FreeBSD 3.4-STABLE (was kern/16605, 3.4-RELEASE problem)
> > >Number: 16605 > >Category: kern > >Synopsis: samba 2.0.6 under 3.4-RELEASE can't open buffersCurrently running 3.4-20000214-STABLE. Compiled samba 2.0.6 from /usr/ports; smbpasswd dies with a segmentation error but appears to complete writing the server SID and smbpasswd file (NT domain authentication works). Tried complete uninstall, including manual deletion of all samba components, recompile, and re-install, still coredumped. However, this does not affect operation in this case and is probably something I've done or left undone. The following fixes from Terry Dwyer have increases samba 2.0.6 speed to the same as 3.3-RELEASE using TESTNET.EXE, about 1.6MB/sec for a 32MB file in both cases. Benchmarks were run from a Win 2000 Profession box using NT 4 domain authentication (encrypted passwords). In smb.conf these are added: #per tdwyer@io.telstra.com.au # 3.4-STABLE socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT read raw = yes write raw = yes shared mem size = 6291456 In the kernel config file the following are: options "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=2048 The disk system is an untuned HV diff SCSI system using ST410800WD drives in both cases, with dual PPro200's. Mike Squires