search for: mask_len

Displaying 6 results from an estimated 6 matches for "mask_len".

2002 Jun 25
1
RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2)
Can someone share the smbfs-2.4.19-pre9-readdir.patch. -----Original Message----- From: David.Lee@bisus.com [mailto:David.Lee@bisus.com] Sent: Tuesday, June 25, 2002 4:21 PM To: vlads@sympatico.ca; urban@teststation.com Cc: samba@lists.samba.org; David.Lee@bisus.com Subject: [Samba] RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2) Vlad. I still got the same problem - 'ls | wc -l'
2000 Mar 20
0
smbfs patch - listing large direcories from an OS/2 server
...- added lastname/mask stuff back (OS/2 needs it) */ #include <linux/types.h> @@ -1550,6 +1553,7 @@ int resp_param_len = 0; int ff_searchcount = 0; int ff_eos = 0; + int ff_lastname = 0; int ff_dir_handle = 0; int loop_count = 0; int mask_len, i, result; @@ -1597,16 +1601,11 @@ command = TRANSACT2_FINDFIRST; WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); WSET(param, 2, max_matches); /* max count */ - WSET(param, 4, - SM...
1999 Oct 23
0
smbfs: patch for directory listing
...mba-2.0.4 server (and possibly others). That is probably because of a bug (?) in smbfs that it does not return the "lastname" properly. The "LastNameOffset" points to the last record in the data area, not to the actual filename. But the code simply does strncpy(mask, lastname, mask_len); where lastname is a pointer to a record looking something like this: 00000000 00000000 14000000 45646974426f7844656661756c742e6a61766100 nnnnnnnn iiiiiiii llllllll n - next record i - file index l - filename length As I understand it the mask should be the string, and not the record. smbclient (...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...see note below). */ int info_level = 260; const int max_matches = 512; @@ -1375,11 +1605,18 @@ int resp_param_len = 0; int ff_searchcount = 0; int ff_eos = 0; + int ff_lastname = 0; int ff_dir_handle = 0; int loop_count = 0; int mask_len, i, result; static struct qstr star = { "*", 1, 0 }; + /* + * use info level 1 for older servers that don't do 260 + */ + if (server->opt.protocol < SMB_PROTOCOL_NT1) + info_level = 1; + smb_lock_server(server); re...
1998 Sep 02
1
Win95 and Smbmount
Hi, When I "smbmount" a shareable drive on my linux box, the result of the "ls" command is often false. (Kernel is compiled with "SMB Win95 bug work around" and "SMB filesystems support", Linux 2.0.34, RedHat 5.1, Samba 1.9.18p5) What can I do to solve my problem ??? Thanks a lot for your help. Michel
1998 Aug 23
4
Problems with smbmount
I have a problem. When I mount my CD (witch is on WIN97 machine) using smbmount I do not see all files in all dirs. If dir have more then, let say, 100 files (it is not the same every time), I do not see all files. This is a problem because on my Linux box I do not have CD-ROM, so if I have to install some packages I first have to copy rpm files on disk, and then install them witch is annoying.