[Samba] once again: horrible speed!

NSC - NetworkServiceCenter nsc at fh-stpoelten.ac.at
Fri Jul 19 03:36:02 GMT 2002


hello,

sorry, but the problem stays! if i want to copy a file with 4 mb from a
w2k-ws to my samba pdc it takes near 25 seconds. if i copy the file from the
server to the ws it takes only 2 seconds!
another test was to mount a win_me-share with smbmount on the server: the
copy also takes 2 second (in both directions).
via ftp i can copy the file from the client to the server in 0,59 seconds
(!!!) - so, the network isn't the problem!

i configured samba 225 with the following options:

./configure --with-pam --with-pam_smbpass --with-ldapsam --with-ssl
--with-smbmount --with-quotas --with-acl-support

my smb conf looks like following:

#======================= Global Settings
=====================================
[global]

#### Grundeinstellungen
    workgroup = WORKGROUP
    netbios name = SRV
    server string = PDC LDAP Server
    os level = 255
    character set = iso8859-1
    security = user
    encrypt passwords = yes
    socket options = IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
TCP_NODELAY
    preferred master = yes
    domain master = yes
    local master =yes
    wins support =yes
    domain logons = yes
    dns proxy = no
    debug level = 100
    load printers = no
    log file = /usr/local/samba/var/log.%m
    max log size = 50

#### Eintraege fuer die Zuweisung zur AdminGruppe
    domain admin group = @root @domadm

#### Eintraege fuer die Benutzung von LDAP
    ldap server = 127.0.0.1
    ldap port = 389
    ldap suffix = dc=testdit,dc=at
    ldap admin dn = uid=root,dc=testdit,dc=at
    ldap filter = (&(objectClass=sambaAccount)(uid=%u))
    ldap ssl = no

#### Passwortabgleich mit Unix
    unix password sync = yes
    log level = 101
    passwd chat debug = yes
    passwd chat = "New*password:* %n\n \nRe*enter*new*password:* %n\n
\nResult:*Success*(0)\n* %n\n "
    passwd program = /usr/local/bin/ldappwdsmb %u

#### Logon Einstellungen
    logon drive = H:
    logon home = \\10.61.1.1\homes
    logon script = %G.cmd

#### Automatisches erstellen des WS-Account beim DomainInclude
    add user script = /var/configfiles/CreateLDAPws %u

#============================ Share Definitions==========================
[homes]
    comment = Heimverzeichnis
    path = /home/%U
    writeable = yes
    guest ok = no
    guest only = no
    create mask = 0600
    security mask = 0000
    directory mask = 0700
    force directory mode = 0700
    directory security mask = 0000
    follow symlinks = no
    wide links = no
    hide dot files = yes
    hide files = /.*/bin/dev/etc/lib/msgs/usr/

[netlogon]
    comment = Domain Logon Service
    path = /usr/local/samba/ntdirs/netlogon
    writable = no
    locking = no
    write list = @domainadmins

[Profiles]
    comment = Benutzerprofile
    path = /usr/local/samba/ntdirs/profiles
    writeable = yes
    create mask = 0600
    directory mask = 0700
    nt acl support = no
    csc policy =disable

[exchange]
    path = /exchange
    comment = Datenaustasch
    browseable = yes
    writeable = yes
    create mask = 0640
    security mask = 0700
    directory mask = 0700
    force directory mode = 0700
    directory security mask = 0700
    follow symlinks = no
    wide links = no
    valid users = @nsc
    write list = @nsc
    hide dot files = yes
    hide files = /.*/bin/dev/etc/lib/msgs/usr/


please help me
i'm happy about any little suggestions
thanks in advance
regards
thomas reisenbichler






More information about the samba mailing list