lkml.org 
[lkml]   [1998]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: updated patch for 2.1.79 smbfs
Bill Hawes wrote:
>
> I've made some changes to try to resolve the problems reported with Win
> 95 OSR2 directory scans. The new patch makes Win 95 use info level 1 in
> the directory scans instead of level 259 (used by NT.) Info level 1 is
> what's currently used in smbclient.
>
> To use the patch with Win 95, please try it first with filemode -f 3xxx
> and if successful test again with mode -f 5xxx. If the latter mode works
> correctly it would be preferred, as this returns all three timestamps on
> a getattr call.
>
> Please report back any test results, especially for those using Win 95
> OSR2.
>
> Regards,
> Bill

Here's my results. With filemode 3, all is well. With 5, errors:

Jan 15 21:34:10 linux kernel: smb_proc_readdir_long: name=\*, entries=0,
rcls=2, err=1
Jan 15 21:34:10 linux kernel: smb_refill_dircache: readdir failed,
result=-23

I tried 7 as well, and it looks ok. And Win95 still likes to hang up if
there's no activity. Would it be feasible to automatically do a umount
and remount if the connection is lost? Or a keepalive signal to the
server? I'm not sure if Win95 lets you modify this "feature," but I'll
look into it.

\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2011 Jasper Spaans