Displaying 2 results from an estimated 2 matches for "cli_mkdir".
2005 Jan 09
1
Problem in tracing the code at client end
...; is the remote server
"abc_share" is the remote share
"xyz" is the local directory
What I want to know is, at the last statement, when an "mkdir" is given, exactly which function at the client( which inturn sends it to
the server) gets called?
I tried tracing it to cli_mkdir() defined in
libsmb/clifile.c line no 345
However, this function does not seem to get called.
Thanks for the help.
Yahoo! India Matrimony: Find your life partneronline.
2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
...orks */
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 to unix_to_dos in the proper place. The
patch may be applied to samba 2.2.1a or 2.2.2.
I'm not sure if it's the proper answer, though. So, I submit it to the
community. No flames, please :-)
--
-+-+ Pierre-Yves BONNETAIN
Consultant Int...