[Samba] Samba slowness

Gardiner Leverett leverett at mobiusmicro.com
Thu Jun 15 15:05:40 GMT 2006


I am still struggling with how to fix up Samba on our network. I'm 
running two samba servers.  One with version 3.0.21b-1 on RH9, and 
another with version 3.0.10-1.4E.6 on RHEL 4. Neither are pdc's, and there
is no pdc in the domain at all.  The two networks are connected
across the country via an IPsec tunnel.  Users on one network
access the other server have the same problem: after you go
down about three levels, the response from the server gets very
slow.  Users on the same network have no problem.  Does anyone
have any ideas?  Here are the smb.conf

Server 1 3.021b-1 RH9 (turned off wins as a test to see if it would effect
the slow response - it hasn't)

[global]
        name resolve order = host lmhosts bcast
        #name resolve order = wins host lmhosts bcast
        #winbind enable local accounts = no
        hosts allow = 192.168.0.0/24  192.168.5.0/24  192.168.10.0/24
127.0.0.1
        passwd program = /usr/bin/passwd %u
        dns proxy = no
        netbios name = KID
        logon script = netlogin.bat
        local master = yes
        workgroup = MOB
        debug level = 1
        os level = 255
        socket address = 192.168.0.153
        hosts deny = 0.0.0.0/0
        security = user
        add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s
/bin/false -M %u
        max log size = 50
        log file = /var/log/samba/log.smbd
        socket options = IPTOS_THROUGHPUT TCP_NODELAY SO_SNDBUF=8192
SO_RCVBUF=8192
        keepalive = 30
        logon drive = H:
        interfaces = eth0 lo
        domain master = yes
        username map = /etc/samba/smbusers
        encrypt passwords = yes
        #wins proxy = no
        logon home = \\%L\profiles\%u\
        #wins support = yes
        server string = DET - Kid
        #kernel oplocks = false
        unix password sync = yes
        logon path = \\%L\profiles\%u\
        preferred master = yes
        bind interfaces only = yes
        domain logons = no

Server 2 3.0.10-1.4E.6 RHEL 4
[global]
        log file = /var/log/samba/log.smbd
        name resolve order = host lmhosts bcast
        #name resolve order = wins host lmhosts bcast
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n *passwd:
*all*authentication*tokens*update d*successfully*
        socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_SNDBUF=8192
SO_RCVBUF=8192
        deny hosts = 0.0.0.0/0
        prefered master = yes
        username map = /etc/samba/smbusers
        domain master = no
        interfaces = eth0 lo
        encrypt passwords = yes
        passwd program = /usr/bin/passwd %u
        wins proxy = no
        keepalive = 30
        wins support = no
        #wins server = 192.168.0.153
        #wins support = yes
        allow hosts = 192.168.0.0/24  192.168.5.0/24 192.168.10.0/24
127.0.0.1
        dns proxy = no
        netbios name = ARN
        server string = SUN - Arn
        kernel oplocks = false
        unix password sync = yes
        local master = yes
        workgroup = MOB-SUN
        os level = 255
        debug level = 1
        socket address = 192.168.10.5
        security = user
        bind interfaces only = yes
        max log size = 50
        domain logons = no
        




More information about the samba mailing list