Displaying 3 results from an estimated 3 matches for "interpret_long_filename".
2005 May 30
2
smbclient hangs
Hello,
I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9.
I want to tar the whole directory of a share. Into a file on the server
What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is
2003 Jul 18
0
patch: smbclient lost some files
...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
clistr_pull(cli, mask, p+ff_lastname,
sizeof(mask),
data_len-ff_lastname,
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
...L recurse = False;
@@ -466,6 +473,19 @@
DEBUG(0, ("Total number of bytes: %d\n", dir_total));
}
+/****************************************************************************
+ get one fileinfo, used in do_get() s.n. Wed Apr 7 19:17:50 1999
+ Ugly. Should write other interface to interpret_long_filename() ?
+ ****************************************************************************/
+static file_info an_finfo; /* Guess right to copy entity (not pointer). */
+
+static void do_get_an_finfo(file_info *f, const char *mask)
+{
+ memcpy(&an_finfo,f,sizeof(*f));
+ /* Debugger.
+ printf("...