[Samba] Problem with w2k machines.

Derrick MacPherson dmacpherson at mainframe.ca
Thu May 20 23:59:46 GMT 2004

We have motion capture machines trying to pull files from a server. The
current system uses Irix running 2.x and I am trying with my Linux box
and 3.0.2a. The loading of the files is quite slow, much slower then
when loading the same scenes being shared from a Windows machine. When I
use ethereal to watch the traffic, there's a lot of 512 byte packets,
and that stuck out as odd. I turned some debug on the logging, and see:

[2004/05/20 16:00:59, 3] smbd/process.c:process_smb(890)
  Transaction 1965 of length 63
[2004/05/20 16:00:59, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 12400)
[2004/05/20 16:00:59, 4] smbd/uid.c:change_to_user(122)
  change_to_user: Skipping user change - already user
[2004/05/20 16:00:59, 3] smbd/reply.c:send_file_readX(1949)
  send_file_readX fnum=5936 max=512 nread=512

I am wondering if there's anything that stands out here as wrong, or at
least somewhere to start digging for a solution?
The SMB shares are all mounted via NFS, from a NAS device. We are not
using AD on our w2k servers.

my smb.conf:

# Global parameters
        workgroup = MAINFRAME
        netbios name = MANDARIN
        security = DOMAIN
        encrypt passwords = Yes
        password server = neptune, pluto
        passwd program = /usr/bin/passwd %u
        passwd chat = *ew*password:* %n\n *e-enter*new*password:* %n\n
        max log size = 5000
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768
        load printers = No
        log level = 2
        os level = 0
        local master = No
        comment = Samba %v
        print command = /usr/samba/bin/sambalp %p %s %U %m
        lppause command =
        lpresume command =

        path = /mocap
        writeable = Yes
        create mask = 0775
        force create mode = 0775
        directory mask = 0775
        force directory mode = 0775
        inherit permissions = Yes

More information about the samba mailing list