search for: find_first2

Displaying 20 results from an estimated 29 matches for "find_first2".

2005 Feb 12
0
Launching workstation local applications creates SMB traffic and STATUS_NO_SUCH_FILE errors
...erver. I don't want to include the server in local applications being launched. I checked the path environmental variable and there are no references to network drives at all. Trans2 Request, QUERY_PATH_INFO Query File Basic Info, Path: \.appname Trans2 Response, QUERY_PATH_INFO Trans2 Request FIND_FIRST2, Pattern: \.appname Trans2 Response, FIND_FIRST2, Error: STATUS_NO_SUCH_FILE Another example will be if I go to "run" "cmd" to bring up a DOS window, I will see the following SMB packets from the workstation to the server which clearly creates creates performance problems. Tra...
2013 Jul 30
3
Slow FIND_FIRST2 response
...S X clients are taking a _long_ time to list long directories. One directory with 10K entries is taking 3-4 minutes to display the entries in Finder. I captured a few seconds worth of packets and noticed that it's doing three requests per file: 1. NTCreateAndX - just opens the file 2. Close 3. FIND_FIRST2 - to look for the resource fork The first two happen extremely fast, the 3rd one is the kicker. Samba is taking about 0.025 seconds to return a response to the client (usually no such file status). Multiple that by 10K requests and you have a few minutes on your hands. I'm guessing the proble...
2014 May 30
0
windows share : retransmission and time out of Trans2 Request, FIND_FIRST2
...ow. Eventually the request times out at the client end. 139 23.780789000 192.168.1.2 192.168.1.4 SMB 160 Tree Connect AndX Request, Path: \\192.168.1.4\USERS 140 23.781413000 192.168.1.4 192.168.1.2 SMB 124 Tree Connect AndX Response 141 23.787286000 192.168.1.2 192.168.1.4 SMB 154 Trans2 Request, FIND_FIRST2, Pattern: \* 144 23.988441000 192.168.1.2 192.168.1.4 SMB 154 *[TCP Retransmission] Trans2 Request, FIND_FIRST2, Pattern: \** 145 24.073991000 192.168.1.4 192.168.1.2 SMB 124 [TCP Retransmission] Tree Connect AndX Response
2007 May 29
2
Problems with Windows 2003 connecting a Samba server
...on Setup AndX Response; Tree Connect AndX 0.040262 192.168.2.37 -> 192.168.51.1 SMB Transaction2 Request QUERY_PATH_INFORMATION, Path: 0.051879 192.168.51.1 -> 192.168.2.37 SMB Transaction2 Response QUERY_PATH_INFORMATION 0.052291 192.168.2.37 -> 192.168.51.1 SMB Transaction2 Request FIND_FIRST2, Pattern: \* 1.519710 192.168.2.37 -> 192.168.51.1 SMB Transaction2 Request FIND_FIRST2, Pattern: \* 1.530914 192.168.51.1 -> 192.168.2.37 TCP microsoft-ds > 1902 [ACK] Seq=1194652038 Ack=2266364728 Win=7504 Len=0 51.023255 192.168.2.37 -> 192.168.51.1 SMB Echo Request 51.033769 1...
2005 Feb 25
0
3.0.7 - NT Create AndX Response, Error:, QUERY_PATH_INFO, Error:
...ankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_FS_INFO, Query FS Attribute Info 8 0.007271 www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_FS_INFO 9 0.007794 rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal 10 0.009805 www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: personal 11 0.009994 rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal 12 0.01138...
2007 Oct 16
0
OT: SMB Protocoll issues
...amba issue but I think some of you should be familar with the SMB Protocoll. I have the problem that opening the file-list on a Network share takes much too long (up to one minute). I dumped the traffic with whireshark and found some strange thins: I get a request from the client: Trans2 Request, FIND_FIRST2, Pattern: \>>>>>>>>">>> As a response to that I get a list of the files in that folder that ends up with: (in FIND_FIRST2 Data of the SMB protocoll) Unknown Data: 000000000000 In an other environement it looks like: Trans2 Request, FIND_FIRST2, Pattern: \\se...
2017 Aug 18
3
Friendly Reminder: Would you please comment on my findings?
...o resolve. Note that I have tracked down the issue to what I believe to be the root cause, and the root cause is NOT an issue in Samba, but an issue with Microsoft's SMB2/SMB3 client that uses completely inefficient SMB2_FIND_ID_BOTH_DIRECTORY_INFO requests in SMB2/3 as opposed to efficient FIND_FIRST2 requests in SMB1: The main parts of my analysis of the issue are contained here: https://lists.samba.org/archive/samba/2017-July/209749.html https://lists.samba.org/archive/samba/2017-July/209750.html https://lists.samba.org/archive/samba/2017-July/209751.html Just citing key findings for your r...
2015 Sep 02
3
Cannot access the (old) samba server on my router from Linux
...id network name. Service not found"), while a "net view" from windows does a "Session Setup AndX Request, User: WETRON\luca; Tree Connect AndX, Path: \\192.168.10.1\IPC$" in a single step. Note that, when listing the files, both from Linux and from windows the reply to FIND_FIRST2 appears to be the same, bogus, one from wireshark ("Trans2 Response, FIND_FIRST2, Files: b e k s t l p u h r w u s t t l d m w v") but windows manages to show the correct directory listing. Most probably the bug is in wireshark (copied from samba?), since the correct filenames are visi...
2004 May 11
3
Poor performance with Mac OS X Panther clients
...ent onto the server. I'm not an expert on the SMB protocol but I've captured packet dumps from a fresh share mount and directory view from both the Windows NT4 client and the Mac OS X client and it looks to me like the NT4 client is doing the directory contents lookups with a single "FIND_FIRST2, \*" and a corresponding return packet from the server with the listing of the directory contents whereas the Mac OS X Finder client appears to be doing a FIND_FIRST2 call for every file, including metadata files, in the directory. This would seem to be supported by a strace of the smbd proces...
2003 Jul 25
0
samba and OS X 10.2.6 problems
...ng again, but otherwise the Mac has to reboot. Anyone else seen this ?? 170.957153 1.2.3.4.127 -> 1.2.3.4.135 SMB Open Request, Path: \._Hard Drive_asr.dmg 170.957424 1.2.3.4.135 -> 1.2.3.4.127 SMB Open Response, FID: 0x29ee 170.957816 1.2.3.4.127 -> 1.2.3.4.135 SMB Transaction2 Request FIND_FIRST2, Pattern: \._Hard Drive_asr.dmg 170.958063 1.2.3.4.135 -> 1.2.3.4.127 SMB Transaction2 Response FIND_FIRST2, Files: ._Hard Drive_asr.dmg 170.958337 1.2.3.4.127 -> 1.2.3.4.135 SMB Read AndX Request, FID: 0x29ee, 512 bytes at offset 0 170.958417 1.2.3.4.135 -> 1.2.3.4.127 SMB Read AndX Respo...
2008 Aug 25
1
How to do a simple directory listing
I'm working on an embedded system that will communicate with a Samba server, and I'm wondering if there's a way to do a simple directory listing. I used Wireshark to see what my Win2K computer does, and I see it's using FIND_FIRST2. This is fine, probably acceptable, but Samba returns a lot of information I do not need, such as file creation/access times. I just need filenames, and will only be reading from Samba. It ends up being more data to store in limited RAM and parse. Can NT_CREATE_ANDX be used to obtain a direct...
2008 Dec 24
1
Question About Samba version 3.0.28-1.e15_2.1
I can't open a file (on our samba server) using Actis, When I troubleshoot the problem using Wireshark, see SMB protocol using FIND_FIRST2 and filename using obscure Windows metacharacters, e.g. USAARG03V>>A.SWK , which gives STATUS_NO_SUCH_FILE (Samba is interpreting the name literally) But if the files are copied to a local drive Actis can find them. Thanks for your help.
2009 Sep 24
0
smb service response times + OpenVPN
...dX 4 0.13362 0.15055 0.14006 Logoff AndX 1 0.13913 0.13913 0.13913 Tree Connect AndX 6 0.12751 0.15108 0.13548 NT Create AndX 1264 0.12484 0.93606 0.14180 Transaction2 Commands Calls Min RTT Max RTT Avg RTT FIND_FIRST2 204 0.12546 0.54965 0.14905 QUERY_FS_INFO 93 0.12489 0.20448 0.13657 QUERY_PATH_INFO 425 0.12507 0.36258 0.13878 QUERY_FILE_INFO 2371 0.12427 0.88422 0.13971 SET_FILE_INFO 5 0.12780 0.13102 0.12...
2017 Aug 18
0
Friendly Reminder: Would you please comment on my findings?
...that I have tracked down the issue to what I believe to be the > root cause, and the root cause is NOT an issue in Samba, but an > issue with Microsoft's SMB2/SMB3 client that uses completely > inefficient SMB2_FIND_ID_BOTH_DIRECTORY_INFO requests in SMB2/3 as > opposed to efficient FIND_FIRST2 requests in SMB1: > > The main parts of my analysis of the issue are contained here: > > https://lists.samba.org/archive/samba/2017-July/209749.html > https://lists.samba.org/archive/samba/2017-July/209750.html > https://lists.samba.org/archive/samba/2017-July/209751.html >...
2011 Feb 21
1
File writing strangeness
...Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \Mp5data\Mp5Backups\Backup 2004-2011 1046 0.002758 192.168.0.YYY 192.168.0.XX SMB Trans2 Response, QUERY_PATH_INFO 1047 0.003137 192.168.0.XX 192.168.0.YYY SMB Trans2 Request, FIND_FIRST2, Pattern: \Mp5data\Mp5Backups\Backup 2004-2011\MPLUSWIN.ZIP 1048 0.003243 192.168.0.YYY 192.168.0.XX SMB Trans2 Response, FIND_FIRST2, Files: MPLUSWIN.ZIP 1049 0.217535 192.168.0.YYY 192.168.0.XX SMB [TCP Retransmission] Trans2 Response<unk...
2009 Jan 12
2
Problem with OpenAndX
...our product (VxWorks on the box) to support Long Name. So I started implementing the dialect "LM1.2X002" (first dialect that supports Long Name, the current dialect that we support are PC Network Program). I have implemented the Negotiation, Tree Connect AndX, Open AndX and Transaction2 (FIND_FIRST2) commands etc. I am able to open the shared drive (root folder) but when I click on a folder inside the root directory, the client first sends Open AndX command and the server responds for that, after that the client sends Query Information2 and the server responds for that and after that the cl...
2015 Sep 02
0
Cannot access the (old) samba server on my router from Linux
...e not found"), while a "net view" from > windows does a "Session Setup AndX Request, User: WETRON\luca; Tree > Connect AndX, Path: \\192.168.10.1\IPC$" in a single step. > > Note that, when listing the files, both from Linux and from windows > the reply to FIND_FIRST2 appears to be the same, bogus, one from > wireshark ("Trans2 Response, FIND_FIRST2, Files: b e k s t l p u h r w > u s t t l d m w v") but windows manages to show the correct directory > listing. > Most probably the bug is in wireshark (copied from samba?), since the >...
2008 Aug 27
1
problems with DFS
Hi, We have been a samba shop since way back and have used DFS quit a lot the last years. When we went with security ads instead of domain our dfs died. We have tried 3.028(sun) in solaris wich we are leaving and 3.2.1 in linux, our migration target. For our 3.2.1 installation the config looks liket this and the problem manifests itself as a empty share. [Global] kernel oplocks = False oplocks
2005 May 30
0
Long Delays Displaying Small Folders in Windows Explorer (samba-3.0.10-1 FC2)
...7 289.530921 192.168.4.210 192.168.4.230 TCP 2791 > microsoft-ds [ACK] Seq=11755 Ack=9902 Win=64907 Len=0 No. Time Source Destination Protocol Info 168 315.608280 192.168.4.210 192.168.4.230 SMB Trans2 Request, FIND_FIRST2, Pattern: Mozilla No. Time Source Destination Protocol Info 169 315.608775 192.168.4.230 192.168.4.210 SMB Trans2 Response, FIND_FIRST2, Files: Mozilla No. Time Source Destination Protocol Info...
2005 Jan 13
0
When opening a file it takes up to half a minute!
...BsesssetupX (pid 18133) conn 0x0 ######################### Here is a example communications sniffed with ethereal with a lag while changing a directory: ############## No Time Source Destination Protocol Info 217 0.0000 192.168.5.90 192.168.5.151 SMB Trans2 Request, FIND_FIRST2, Pattern: \Projects\somedir\somefile.htm 218 0.000398 192.168.5.151 192.168.5.90 SMB Trans2 Response, FIND_FIRST2, Files: somefile.htm 219 0.004181 192.168.5.90 192.168.5.151 SMB NT Create AndX Request, Path: \Projects\somedir\somefile.htm 220 0.044126 192.168.5...