search for: ff_lastname

Displaying 7 results from an estimated 7 matches for "ff_lastname".

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
...(end of search) in the FINDFIRST response, even when there are more items to be listed. The result is that smbfs will display only the first ~120 items in a directory (varies with file name length and buffer size) without getting an error message. The patch below fixes that. I also had to add some ff_lastname/mask code back in; OS/2 Server needs it to continue the search. The patch is against Linux 2.2.14: Index: fs/smbfs/proc.c =================================================================== RCS file: /usr/src/cvsroot/linux/fs/smbfs/proc.c,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 proc.c ---...
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
2003 Jul 18
0
patch: smbclient lost some files
...{ 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 clistr_pull(cli, mask, p+ff_lastn...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...nt 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->opt.protocol < SMB_PROTOC...
1999 Oct 23
0
smbfs: patch for directory listing
...m, 6, ff_resume_key); /* ff_resume_key */ - WSET(param, 10, 8 + 4 + 2); /* resume required + - close on end + + WSET(param, 10, 4 + 2); /* close on end + continue */ if (server->mnt->version & SMB_FIX_WIN95) { @@ -1687,6 +1685,12 @@ case 259: if (ff_lastname < resp_data_len) mask_len = resp_data_len - ff_lastname; + /* The lastname pointer points to the record, + not to the name. */ + lastname += 12; + mask_len -= 12; + if(mask_len < 0) + mask_len = 0; break; case 1: /* Win NT 4.0 doesn't set the leng...
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