Displaying 2 results from an estimated 2 matches for "cli_setup_packet".
1999 Dec 28
2
Directory rename problem with smbclient
I am trying to use smbclient to migrate data from OS/2 LanServers to a
filesystem on an AIX 4.3.1 machine. Everything works great except renaming
directories on the OS/2 LanServer. I get the error ERRDOS - ERRbadfile
(File not found.) renaming files when I do a "rename <existing_dir_name>
<new_dir_name>" at the prompt, but <existing_dir_name> exists. I connected
to a
2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
...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 is known to be in Unix format, and is properly
translated to dos stuff.
But cli_chkpath, in smbclient 2.2.1a/2.2.2, is now :
cli_setup_packe...