search for: dos_putunicod

Displaying 1 result from an estimated 1 matches for "dos_putunicod".

Did you mean: dos_putunicode
2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
...s now : cli_setup_packet(cli); p = smb_buf(cli->outbuf); *p++ = 4; p += clistr_push(cli, p, path2, -1, STR_TERMINATE | STR_CONVERT); cli_setup_bcc(cli, p); cli_send_smb(cli); And clistr_push says : /* the server likes unicode. give it the works */ if (flags & STR_CONVERT) { dos_PutUniCode(dest, src, dest_len, flags & STR_TERMINATE); } else { ascii_to_unistr(dest, src, dest_len); } No such luck, src is NOT in Dos format but in Unix format. Hence all my troubles. The same ting is done/not done anymore in cli_open, cli_mkdir, etc. My fix is easy. It's just a call...