Hello All, I'm having problems accessing getting a directory listing from samba(3.0.23d) with win xp clients. I can mount a share from win xp, create a directory, create a file, edit the file, etc. But listing the directory contents is fickle. If its a very small directory things appear to work fine. But a directory with around 30 files seems to hang and eventually returns "File Not Found". In the log excerpt below, I can see it processing the individual files and it suddenly stops on one (new_kitchen_grayscale0001.JPG) and the offset gets set to -1. This problem is not limited to a specific directory. Things work fine from Linux clients. Both clients access the samba server from a vpn. Below I have included: 1. Example Scenario from WIN XP Client 2. smb.conf 3. Log excerpt when problem appears to occur... problem near bottom I appreciate any suggestions you can give... Stephen ########################## Example Scenario from Win XP client connected throught VPN. ########################## C:>net use j: \\jet\public The password or user name is invalid for \\jet\public. Enter the user name for 'jet': scarter Enter the password for jet: The command completed successfully. C:>dir j:\tmp\scarter Volume in drive J is public Volume Serial Number is 0170-0882 Directory of j:\tmp\scarter File Not Found C:> ########################## I have attached a more complete log listing below but the the problem occurs here when it hits one of the files: ########################## ########################## my smb.conf listing ########################## [global] workgroup = RESPONDEX server string = Jet Samba Server log level = 10 log file = /var/log/samba/%m.log max log size = 100000 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap local master = No dns proxy = No oplock break wait time = 1000 idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.111., 192.168.0., 192.168.10., 127. cups options = raw [homes] comment = Home Directories browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [public] comment = Public Stuff path = /usr/local/rdx/public read only = No guest only = Yes guest ok = Yes ########################## log listing ########################## [2007/01/10 10:58:42, 5] smbd/trans2.c:get_lanman2_dir_entry(1197) get_lanman2_dir_entry found tmp/scarter/new_kitchen_3d0004.JPG fname=new_kitchen_3d0004.JPG [2007/01/10 10:58:42, 10] smbd/trans2.c:get_lanman2_dir_entry(1340) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2007/01/10 10:58:42, 10] smbd/mangle_hash2.c:name_map(617) name_map: new_kitchen_3d0004.JPG -> 72E48952 -> NVVMQ8~I.JPG (cache=1) [2007/01/10 10:58:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1110) get_lanman2_dir_entry:readdir on dirptr 0x552afca190 now at offset 2101150862 [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(377) dos_mode: tmp/scarter/pool.xcf [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode_from_sbuf(193) dos_mode_from_sbuf returning [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(415) dos_mode returning [2007/01/10 10:58:42, 5] smbd/trans2.c:get_lanman2_dir_entry(1197) get_lanman2_dir_entry found tmp/scarter/pool.xcf fname=pool.xcf [2007/01/10 10:58:42, 10] smbd/trans2.c:get_lanman2_dir_entry(1340) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2007/01/10 10:58:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1110) get_lanman2_dir_entry:readdir on dirptr 0x552afca190 now at offset 2115421883 [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(377) dos_mode: tmp/scarter/SetupCCM5.3.18.4DL.exe [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode_from_sbuf(193) dos_mode_from_sbuf returning [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(415) dos_mode returning [2007/01/10 10:58:42, 5] smbd/trans2.c:get_lanman2_dir_entry(1197) get_lanman2_dir_entry found tmp/scarter/SetupCCM5.3.18.4DL.exe fname=SetupCCM5.3.18.4DL.exe [2007/01/10 10:58:42, 10] smbd/trans2.c:get_lanman2_dir_entry(1340) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2007/01/10 10:58:42, 10] smbd/mangle_hash2.c:name_map(617) name_map: SetupCCM5.3.18.4DL.exe -> 316BEA30 -> SDPNOS~0.EXE (cache=1) [2007/01/10 10:58:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1110) get_lanman2_dir_entry:readdir on dirptr 0x552afca190 now at offset 2126509800 [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(377) dos_mode: tmp/scarter/pool0002.JPG [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode_from_sbuf(193) dos_mode_from_sbuf returning a [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(415) dos_mode returning a [2007/01/10 10:58:42, 5] smbd/trans2.c:get_lanman2_dir_entry(1197) get_lanman2_dir_entry found tmp/scarter/pool0002.JPG fname=pool0002.JPG [2007/01/10 10:58:42, 10] smbd/trans2.c:get_lanman2_dir_entry(1340) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2007/01/10 10:58:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1110) get_lanman2_dir_entry:readdir on dirptr 0x552afca190 now at offset 2147483647 [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(377) dos_mode: tmp/scarter/new_kitchen_grayscale0001.JPG [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode_from_sbuf(193) dos_mode_from_sbuf returning a [2007/01/10 10:58:42, 8] smbd/dosmode.c:dos_mode(415) dos_mode returning a [2007/01/10 10:58:42, 5] smbd/trans2.c:get_lanman2_dir_entry(1197) get_lanman2_dir_entry found tmp/scarter/new_kitchen_grayscale0001.JPG fname=new_kitchen_grayscale0001.JPG [2007/01/10 10:58:42, 10] smbd/trans2.c:get_lanman2_dir_entry(1340) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2007/01/10 10:58:42, 10] smbd/mangle_hash2.c:name_map(617) name_map: new_kitchen_grayscale0001.JPG -> 5149FAA1 -> NMJZ0Y~P.JPG (cache=1) [2007/01/10 10:58:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1110) get_lanman2_dir_entry:readdir on dirptr 0x552afca190 now at offset -1 [2007/01/10 10:58:42, 5] smbd/trans2.c:call_trans2findfirst(1828) call_trans2findfirst - (2) closing dptr_num 256 [2007/01/10 10:58:42, 4] smbd/dir.c:dptr_close_internal(239) closing dptr key 256 [2007/01/10 10:58:42, 9] smbd/trans2.c:send_trans2_replies(690) t2_rep: params_sent_thistime = 10, data_sent_thistime = 3120, useable_space = 131010 [2007/01/10 10:58:42, 9] smbd/trans2.c:send_trans2_replies(692) t2_rep: params_to_send = 10, data_to_send = 3120, paramsize = 10, datasize = 3120 [2007/01/10 10:58:42, 5] lib/util.c:show_msg(485) [2007/01/10 10:58:42, 5] lib/util.c:show_msg(495) size=3188 smb_com=0x32 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51265 smb_tid=2 smb_pid=2336 smb_uid=103 smb_mid=1152 smt_wct=10 smb_vwv[ 0]= 10 (0xA) smb_vwv[ 1]= 3120 (0xC30) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 10 (0xA) smb_vwv[ 4]= 56 (0x38) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 3120 (0xC30) smb_vwv[ 7]= 68 (0x44) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_bcc=3133 [2007/01/10 10:58:42, 10] lib/util.c:dump_data(2222) [000] 00 FD FF 18 00 01 00 00 00 98 0B 00 00 60 00 00 ........ .....`.. [010] 00 00 00 00 00 00 62 01 53 AB 34 C7 01 80 C7 B9 ......b. S.4..... [020] D1 CA 34 C7 01 00 62 01 53 AB 34 C7 01 00 62 01 ..4...b. S.4...b. [030] 53 AB 34 C7 01 00 00 00 00 00 00 00 00 00 00 00 S.4..... ........ [040] 00 00 00 00 00 10 00 00 00 02 00 00 00 00 00 00 ........ ........ [050] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ [060] 00 00 00 00 00 00 00 00 00 00 00 2E 00 64 00 00 ........ .....d.. [070] 00 00 00 00 00 80 A8 39 27 BA 34 C7 01 80 8A A3 .......9 '.4..... [080] DD C6 34 C7 01 80 A8 39 27 BA 34 C7 01 80 A8 39 ..4....9 '.4....9 [090] 27 BA 34 C7 01 00 00 00 00 00 00 00 00 00 00 00 '.4..... ........ [0A0] 00 00 00 00 00 10 00 00 00 04 00 00 00 00 00 00 ........ ........ [0B0] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ [0C0] 00 00 00 00 00 00 00 00 00 00 00 2E 00 2E 00 00 ........ ........ [0D0] 00 88 00 00 00 00 00 00 00 00 DC F7 16 BF 14 C7 ........ ........ [0E0] 01 00 26 07 AC 6D 18 C7 01 00 DC F7 16 BF 14 C7 ..&..m.. ........ [0F0] 01 00 DC F7 16 BF 14 C7 01 3E 21 11 00 00 00 00 ........ .>!..... [100] 00 00 00 20 00 00 00 00 00 20 00 00 00 28 00 00 ... .... . ...(.. [110] 00 00 00 00 00 18 00 4F 00 45 00 4E 00 4E 00 48 .......O .E.N.N.H [120] 00 44 00 7E 00 41 00 2E 00 42 00 4D 00 50 00 6F .D.~.A.. .B.M.P.o [130] 00 72 00 69 00 67 00 5F 00 6B 00 69 00 74 00 63 .r.i.g._ .k.i.t.c [140] 00 68 00 65 00 6E 00 30 00 30 00 30 00 31 00 2E .h.e.n.0 .0.0.1.. [150] 00 42 00 4D 00 50 00 00 00 80 00 00 00 00 00 00 .B.M.P.. ........ [160] 00 00 D7 54 62 CC CB C3 01 00 59 A2 E1 3D 30 C7 ...Tb... ..Y..=0. [170] 01 00 D7 54 62 CC CB C3 01 00 D7 54 62 CC CB C3 ...Tb... ...Tb... [180] 01 00 CE 00 00 00 00 00 00 00 00 10 00 00 00 00 ........ ........ [190] 00 20 00 00 00 22 00 00 00 00 00 00 00 18 00 52 . ...".. .......R [1A0] 00 32 00 4F 00 52 00 4D 00 39 00 7E 00 4F 00 2E .2.O.R.M .9.~.O.. [1B0] 00 4C 00 42 00 4C 00 72 00 65 00 74 00 75 00 72 .L.B.L.r .e.t.u.r [1C0] 00 6E 00 20 00 6C 00 61 00 62 00 65 00 6C 00 73 .n. .l.a .b.e.l.s [1D0] 00 2E 00 6C 00 62 00 6C 00 70 00 00 00 00 00 00 ...l.b.l .p...... [1E0] 00 00 EB 29 69 88 FE C6 01 80 8F 6E AB 6D 18 C7 ...)i... ...n.m.. [1F0] 01 00 EB 29 69 88 FE C6 01 00 EB 29 69 88 FE C6 ...)i... ...)i... [2007/01/10 10:58:42, 4] smbd/trans2.c:call_trans2findfirst(1864) SMBtrans2 mask=* directory=tmp/scarter dirtype=22 numentries=24 [2007/01/10 10:58:42, 10] smbd/process.c:setup_select_timeout(1284) change_notify_timeout: -1 [2007/01/10 10:59:42, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/01/10 10:59:42, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL)