I really need help with SAMBA!!
Stephen L Arnold
arnold.steve at ensco.com
Thu Mar 11 19:42:31 GMT 1999
When the world was young, Alex Yu <ayu1 at nycap.rr.com> carved some
runes like this:
> I don't want smb to send clear text passwd, because there might be a
> chance that people will sniff my subnet. BUT I don't want to have 2
> seperate passwds. I want samba to share /etc/passwd passwords. All I
> need is SPEED and get PASSWORD share working. PLEASE HELP ME!!!
The basic samba settings should be fine (speed-wise) unless
something else is hosed (network setup, flaky NIC, etc). On a 10
Mbs ethernet, I get 750-900 k/sec on both SMB and ftp transfers.
SMB is fastest between win95 boxes, and slowest between NT4 and
samba. ftp transfers are pretty consistent (about 850 k/sec)
across platforms. Also, our network has very little traffic.
Another guy said (a while back) that Netblooie was sucking up about
70% of the available bandwidth on his network... I'll attach my
smb.conf, but you'll have to adjust yourself if you're using 2.x
(I'm still running 1.9.18p8). I suppose you've played with the
read-raw and other settings. Also, strict locking can slow things
down quite a bit. Check the speed.txt docs for more ideas.
Encrypted passwords should work fine; just make sure you create
smbpasswd in the right place for your setup and either add each
user manually, or use the update encrypted switch (while using
plaintext passwords) until all passwords have been updated in
smbpasswd. You can use the unix-passwd-sync option as well.
Here is my setup:
[global]
#==================Shortened for the list==================
name resolve order = lmhosts host bcast
guest account = ftp
log file = /var/log/samba/log.%m
max log size = 50
security = user
username map = /etc/smbusers
socket options = TCP_NODELAY
local master = yes
os level = 65
domain master = yes
preferred master = yes
wins support = no
dns proxy = no
preserve case = yes
short preserve case = yes
mangle case = yes
#================== Share Definitions ====================
[homes]
comment = Home Directory
browseable = no
writable = yes
alternate permissions = yes
force directory mode = 0755
create mode = 0644
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
# A publicly accessible directory, but read only, except for admin.
[public]
comment = HTML Document Tree
path = /home/httpd
public = yes
writable = yes
printable = no
write list = arnold, root, admin, sarnold
# Publicly accessible directory, but read-only, except for admin.
# This is the /usr/doc tree
[docs]
comment = Linux docs
path = /usr/doc
public = yes
writable = yes
printable = no
write list = arnold, root, admin, sarnold
[source]
comment = Source Code
path = /usr/src
valid users = [list of valid users]
public = no
writable = yes
printable = no
****************************************************************
Stephen L. Arnold Senior Systems Engineer
ENSCO Inc. email: arnold.steve at ensco.com
P.O. Box 5488 www: http://www.ensco.com
Vandenberg AFB, CA 93437 voice: 805.806.8838
fax: 805.734.4779
#include <std_disclaimer.h>
****************************************************************
More information about the samba
mailing list