Has anyone experienced this problem?  Short story - opening "My
Documents" folder located on home directory of user's samba share is
delayed.  I am seeing an approximate 10 second delay.  I have captured
the SMB packets using Ethereal and included them here (just at the point
of delay).

I have checked the mail archive at www.samba.org, but have not found any
answers.

I am using the base of SME V5, with the only changes to smb.conf from
the official templates being the ones which turn off guest access (based
on Joseph Morrison's comments today).

I have tried Darrell May's changes previously, to update to
dmc-mitel-samba-2.2.1a-6, but things seemed to get even worse.
Specifically, the opening of the "My Documents" by expansion of the
Windows2000 menu would stop the windows system in its tracks for longer
than ten seconds.  I reverted back to the original samba 2.0.10-2 in the
SME V5 distribution.

I have checked the /var/log/samba files, no errors in log.mbr (my client
is named mbr),  no errors in log.nmb, only error is in log.smb, and
appears unrelated:

[2001/10/17 15:03:28, 0] lib/util.c:matchname(1899)
  host name/name mismatch: pc-00065 != pc-00065.valuepcnet.com
[2001/10/17 15:03:28, 0] lib/util_sock.c:client_name(1017)
  Matchname failed on pc-00065 192.168.1.65

My experience is showing that the problem is ISOLATED to "My Documents".
I believe the directory is somehow locked, and the requests to list
files always seem to have to timeout.  Subdirectories of "My Documents"
don't have a problem.

Here is the delay, seen from Ethereal 0.8.20 - the delay is between
frame 671 (SMBlockingX Request) and frame 673 (SMBlockingX Response).
Note that the SMB Response says:
        Error Class: DOS Error (0x01)
        Reserved: 0
        Error Code: Lock request conflicts with existing lock

Captured Data Below
------------------------------------------------------------------------
------------------------

Frame 671 (129 on wire, 129 captured)
    Arrival Time: Oct 17, 2001 15:21:17.812827000
    Time delta from previous packet: 0.000190000 seconds
    Time relative to first packet: 591.058070000 seconds
    Frame Number: 671
    Packet Length: 129 bytes
    Capture Length: 129 bytes
Ethernet II
    Destination: 00:c0:26:63:25:9a (popeye.valuepcnet.com)
    Source: 00:50:bf:21:74:1d (mbr)
    Type: IP (0x0800)
Internet Protocol, Src Addr: mbr (192.168.1.65), Dst Addr:
popeye.valuepcnet.com (192.168.1.3)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 115
    Identification: 0x10be
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 128
    Protocol: TCP (0x06)
    Header checksum: 0x6632 (correct)
    Source: mbr (192.168.1.65)
    Destination: popeye.valuepcnet.com (192.168.1.3)
Transmission Control Protocol, Src Port: 1029 (1029), Dst Port:
netbios-ssn (139), Seq: 136186798, Ack: 3593189770
    Source port: 1029 (1029)
    Destination port: netbios-ssn (139)
    Sequence number: 136186798
    Next sequence number: 136186873
    Acknowledgement number: 3593189770
    Header length: 20 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 5228
    Checksum: 0xd41f (correct)
NetBIOS Session Service
    Message Type: Session message
    Flags: 0x00
        .... ...0 = Add 0 to length
    Length: 71
SMB (Server Message Block Protocol)
    SMB Header
        Message Type: 0xFF
        Server Component: SMB
        SMB Command: SMBlockingX (0x24)
        Error Class: Success (0x00)
        Reserved: 0
        Error Code: No Error
        Flags: 0x18
            .... ...0 = Lock&Read, Write&Unlock not supported
            .... ..0. = Receive buffer not posted
            .... 1... = Path names caseless
            ...1 .... = Pathnames canonicalized
            ..0. .... = OpLocks not requested/granted
            .0.. .... = Notify open only
            0... .... = Request to server
        Flags2: 0x0807
            .... .... .... ...1 = Long file names supported
            .... .... .... ..1. = Extended attributes supported
            .... .... .... .1.. = Security signatures supported
            .... 1... .... .... = Extended security negotiation
supported
            ...0 .... .... .... = Don't resolve pathnames with DFS
            ..0. .... .... .... = Don't permit reads if execute-only
            .0.. .... .... .... = Error codes are DOS error codes
            0... .... .... .... = Strings are ASCII
        Reserved: 6 WORDS
        Network Path/Tree ID (TID): 0x0002
        Process ID (PID): 0xfeff
        User ID (UID): 0x0065
        Multiplex ID (MID): 0x85c1
    Word Count (WCT): 8
    AndXCommand: 255
    AndXReserved: 0
    AndXOffset: 57054
    FID: 5064
    Lock Type: 0x11
        .... .... .... ...1 = Read-only lock
        .... .... .... ..0. = Not an Oplock break notification
        .... .... .... .0.. = Not a lock type change
        .... .... .... 0... = Dont cancel outstanding request
        .... .... ...1 .... = Large file locking format
    OplockLevel: 0
    Timeout: 4294967295
    Number Of Unlocks: 0
    Number of Locks: 1
    Byte Count (BCC): 20

Frame 672 (60 on wire, 60 captured)
    Arrival Time: Oct 17, 2001 15:21:17.830117000
    Time delta from previous packet: 0.017290000 seconds
    Time relative to first packet: 591.075360000 seconds
    Frame Number: 672
    Packet Length: 60 bytes
    Capture Length: 60 bytes
Ethernet II
    Destination: 00:50:bf:21:74:1d (mbr)
    Source: 00:c0:26:63:25:9a (popeye.valuepcnet.com)
    Type: IP (0x0800)
    Trailer: 00000023FF53
Internet Protocol, Src Addr: popeye.valuepcnet.com (192.168.1.3), Dst
Addr: mbr (192.168.1.65)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 40
    Identification: 0xbaf4
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xfc46 (correct)
    Source: popeye.valuepcnet.com (192.168.1.3)
    Destination: mbr (192.168.1.65)
Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port:
1029 (1029), Seq: 3593189770, Ack: 136186873
    Source port: netbios-ssn (139)
    Destination port: 1029 (1029)
    Sequence number: 3593189770
    Acknowledgement number: 136186873
    Header length: 20 bytes
    Flags: 0x0010 (ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 0... = Push: Not set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32120
    Checksum: 0x066a (correct)

Frame 673 (93 on wire, 93 captured)
    Arrival Time: Oct 17, 2001 15:21:27.811818000
    Time delta from previous packet: 9.981701000 seconds
    Time relative to first packet: 601.057061000 seconds
    Frame Number: 673
    Packet Length: 93 bytes
    Capture Length: 93 bytes
Ethernet II
    Destination: 00:50:bf:21:74:1d (mbr)
    Source: 00:c0:26:63:25:9a (popeye.valuepcnet.com)
    Type: IP (0x0800)
Internet Protocol, Src Addr: popeye.valuepcnet.com (192.168.1.3), Dst
Addr: mbr (192.168.1.65)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 79
    Identification: 0xbaf5
    Flags: 0x04
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xfc1e (correct)
    Source: popeye.valuepcnet.com (192.168.1.3)
    Destination: mbr (192.168.1.65)
Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port:
1029 (1029), Seq: 3593189770, Ack: 136186873
    Source port: netbios-ssn (139)
    Destination port: 1029 (1029)
    Sequence number: 3593189770
    Next sequence number: 3593189809
    Acknowledgement number: 136186873
    Header length: 20 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 32120
    Checksum: 0x6b52 (correct)
NetBIOS Session Service
    Message Type: Session message
    Flags: 0x00
        .... ...0 = Add 0 to length
    Length: 35
SMB (Server Message Block Protocol)
    SMB Header
        Message Type: 0xFF
        Server Component: SMB
        SMB Command: SMBlockingX (0x24)
        Error Class: DOS Error (0x01)
        Reserved: 0
        Error Code: Lock request conflicts with existing lock
        Flags: 0x88
            .... ...0 = Lock&Read, Write&Unlock not supported
            .... ..0. = Receive buffer not posted
            .... 1... = Path names caseless
            ...0 .... = Pathnames not canonicalized
            ..0. .... = OpLocks not requested/granted
            .0.. .... = Notify open only
            1... .... = Response to client/redirector
        Flags2: 0x0001
            .... .... .... ...1 = Long file names supported
            .... .... .... ..0. = Extended attributes not supported
            .... .... .... .0.. = Security signatures not supported
            .... 0... .... .... = Extended security negotiation not
supported
            ...0 .... .... .... = Don't resolve pathnames with DFS
            ..0. .... .... .... = Don't permit reads if execute-only
            .0.. .... .... .... = Error codes are DOS error codes
            0... .... .... .... = Strings are ASCII
        Reserved: 6 WORDS
        Network Path/Tree ID (TID): 0x0002
        Process ID (PID): 0xfeff
        User ID (UID): 0x0065
        Multiplex ID (MID): 0x85c1
    Word Count (WCT): 0
    Byte Count: 0


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to