Displaying 4 results from an estimated 4 matches for "ff_eos".
Did you mean:
f_pos
2000 Mar 20
0
smbfs patch - listing large direcories from an OS/2 server
...- got rid of resume_key
+ * 20/03/00 (chrisp)
+ * - fixed FINDFIRST flags for 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...
2000 Jan 05
1
Signal 11 in attempt_netbios_session_request
> I have just upgraded to Samba 2.0.6 and can no longer connect to Samba
> shares on my FreeBSD 3.4-RELEASE machine. When I attempt to connect, the
> smb.log contains the following information:
>
> [2000/01/04 17:54:42, 3] libsmb/namequery.c:resolve_lmhosts(566)
> resolve_lmhosts: Attempting lmhosts lookup for name
> NTWEB2.AIS.MSU.EDU<0x20>
> [2000/01/04
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...__u16 command;
int first, entries, entries_seen;
+
+ /* Both NT and OS/2 accept info level 1 (but 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->...
2003 Jul 18
0
patch: smbclient lost some files
...*cli,c
switch(info_level)
{
case 260:
+#ifdef DONT_USE_SEARCH_CONTINUE
+ /*
+ * According to CIFS Technical Document 1.0,
+ * ff_last_name must point to last FILENAME.
+ * But Window 2000 points to the first byte
+ * of last file/directory entry.
+ */
+ if (!ff_eos && !memcmp(p + ff_lastname,
+ "\0\0\0\0", 4)) {
+ file_info resume_fi;
+
+ interpret_long_filename(
+ cli, info_level,
+ p + ff_lastname,
+ &resume_fi);
+ strlcpy(mask, resume_fi.name,
+ 255);
+ } else
+#endif...