search for: clistr_push

Displaying 4 results from an estimated 4 matches for "clistr_push".

2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
....2.1 thinks it has a DOS-translated name, but this is wrong. And thus accented characters are improperly translated. I backpatched to Samba 2.2.0, since several people told me they did not have this kind of problem. And it's true :-) The 'core' of my grudge seems to lie in the new clistr_push function, which does not exist in release 2.2.0. A 'cd directory' command is thus processed by cli_chkpath, which does : cli_setup_packet(cli); p = smb_buf(cli->outbuf); *p++ = 4; safe_strcpy(p,path2,strlen(path2)); unix_to_dos(p,True); cli_send_smb(cli); It is clear the path...
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
...ax count */ SSVAL(param,4,info_level); SIVAL(param,6,0); /* ff_resume_key */ +#ifdef DONT_USE_SEARCH_CONTINUE + SSVAL(param,10,4+2); /* resume required + close on end */ +#else SSVAL(param,10,8+4+2); /* continue + resume required + close on end */ +#endif + p = param+12; p += clistr_push(cli, param+12, mask, -1, STR_TERMINATE|STR_CONVERT); @@ -246,6 +251,25 @@ int cli_list_new(struct cli_state *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...
2003 Dec 01
0
No subject
...clifile.c 25 Jun 2001 17:04:45 -0000 1.1.8.12 --- libsmb/clifile.c 29 Jun 2001 13:57:16 -0000 *************** *** 243,249 **** p = smb_buf(cli->outbuf); /* this alignment and termination is critical for netapp filers. Don't change */ ! p += clistr_align(cli->outbuf, p); len = clistr_push(cli, p, fname, -1, STR_CONVERT); p += len; SSVAL(cli->outbuf,smb_ntcreate_NameLength, len); --- 243,249 ---- p = smb_buf(cli->outbuf); /* this alignment and termination is critical for netapp filers. Don't change */ ! p += clistr_align(cli, p, STR_CONVERT); len = clistr...