[Sysadmins] Samba

Dima Spodarets =?iso-8859-1?q?dima=2Em31_=CE=C1_gmail=2Ecom?=
Пт Янв 4 17:54:27 MSK 2008


Всем привет. Настраиваю самбу, но столкнулся с проблемой медленной скорости
записи с клиентских машин на файловый сервер где стоит самба.
С файлового сервера на клиенты скорость ~ 1-2 мбит\с
С клиентов на файловый сервер ~  12 мбит\с
Конфиг:
# Defining domain name, hostname
####################################################
[global]
passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new
password*" %n\n"
obey pam restrictions = yes
preserve case = yes
delete user from group script = /usr/sbin/smbldap-groupmod -x %g %u
time server = Yes
#nt acl support = yes
netbios name = PDC
ldap passwd sync = Yes
printing = cups
idmap domains = DM
logon script = logon.bat
dos charset = CP866
debug level = 10
idmap config dm:range = 10000 - 50000
security = user
short preserve case = yes
add machine script = /usr/sbin/smbldap-useradd -w %u
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
delete user script = /usr/sbin/smbldap-userdel %u
log file = /var/log/samba/%m.log
guest account = nobody
ldap user suffix = ou=Users
idmap alloc config:ldap_url = ldap://localhost/
socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=262144
SO_RCVBUF=262144
delete group script = /usr/sbin/smbldap-groupdel %g
idmap config dm:default = yes
domain master = Yes
passdb backend = ldapsam:ldap://127.0.0.1
case sensitive = no
ldap suffix = dc=dm,dc=local
idmap config dm:backend = ldap
set primary group script = /usr/sbin/smbldap-usermod -g %g %u
pam password change = No
domain logons = Yes
idmap alloc config:ldap_user_dn = cn=Administrator,dc=dm,dc=local
display charset = KOI8-R
name resolve order = wins bcast hosts
enable privileges = yes
#posix locking = yes
#strict locking = no
idmap config dm:ldap_user_dn = cn=root,ou=Users,dc=dm,dc=local
show add printer wizard = yes
passwd program = /usr/sbin/smbldap-passwd -u %u
local master = Yes
idmap alloc config:ldap_base_dn = ou=Idmap,dc=dm,dc=local
workgroup = DM
os level = 255
ldap admin dn = cn=Administrator,dc=dm,dc=local
printcap name = cups
getwd cache = yes
log level = 256
idmap alloc backend = ldap
add group script = /usr/sbin/smbldap-groupadd -p %g
idmap config dm:ldap_url = ldap://localhost/
add user to group script = /usr/sbin/smbldap-groupmod -m %g %u
mangling method = hash2
logon drive = H:
username map = /etc/samba/smbusers
map to guest = Bad User
encrypt passwords = yes
logon home = \\%L\%U
keepalive = 10
wins support = true
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
server string = SuSE DC
password server = localhost
idmap alloc config:range = 10000 - 50000
logon path = \\%L\Profiles\%U
add user script = /usr/sbin/smbldap-useradd -m %u
idmap config dm:ldap_base_dn = ou=Idmap,dc=dm,dc=local
unix charset = KOI8-R
# Path to IDEALX scripts
####################################################
# Specifying ldapsam backend database
####################################################


# Specifying printing subsystem
####################################################

# Various other directives ( man smb.conf )
####################################################
#obey pam restrictions = Yes
# OpenLDAP stuff is defined here
###################################################
#map acl inherit = Yes
#ldap ssl = no


# Defining logging facility
####################################################


# Defining printers

####################################################
[printers]
comment = All Printers
path = /var/spool/samba
read only = Yes
guest ok = Yes
printable = Yes
browseable = No

# Defining printers
####################################################
[print$]
path = /var/lib/samba/drivers/
guest ok = No
browseable = Yes
read only = Yes
valid users = @"Print Operators"
write list = @"Print Operators"
create mask = 0664
directory mask = 0775

# Defining network logon service
####################################################
[netlogon]
comment = NLService
path = /var/lib/samba/netlogon
browseable = No
read only = yes

[homes]
comment = Home Directories
browsable = no
read only = no
writeable = yes
create mask = 0600
directory mask = 0700
# Defining profile share ( for roaming profiles )
####################################################
[profiles]
profile acls = yes
csc policy = disable
browseable = no
writeable = yes
path = /var/lib/samba/profiles
create mask = 0600
directory mask = 0700
comment = Roaming Profiles
public = yes

[test]
writeable = yes
write list = @"Domain Users",@"Domain Admins"
path = /srv/samba/test

[1cbase]
writeable = yes
path = /srv/samba/1cbase
read only = no
writeable = yes
create mask = 0777
directory mask = 0777
[firms]
writeable = yes
path = /srv/samba/firms
write list = @"Domain Users",@"Domain Admins"
create mask = 0777
directory mask = 0777


Кто что может посоветовать для увеличения скорости передачи данных?

-- 
С уважением,
  Дмитрий Сподарец
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/sysadmins/attachments/20080104/8c6954c9/attachment-0002.html>


Подробная информация о списке рассылки Sysadmins