[Samba] The filename of list of smbclient contains spaces

Wang, Brandon Brandon.Wang at chn.fujixerox.com
Thu Oct 28 00:56:26 MDT 2010


Please forgive me to disturb you all. We have attempted
to make a patch to resolve the following problems.

Please let me introduce one in detail. For the 1st problem
that we found when we do the following command,
$ smbclient // -U test%123456 -c "mkdir xxx"
the return value is always "0" regardless of the command
is correct or incorrect. The commands, "rd" and "rm" have
the same problem.
We can obtain the returned value by calling this shell,
$ echo $?
after calling of smbclient.

For the 2nd one, please to refer to the descriptions within the
URL https://bugzilla.samba.org/show_bug.cgi?id=7701

Finally, we cloned the source from git://git.samba.org/samba.git,
made a patch and attached it, for both bugs. We built the
executable file under "source3" successfully, and confirmed
some features briefly, in our local PC.

Would you like to review and commit, if it can be done, the
patch for us please?

Any help and suggestion will be appreciated.

Brandon. Wang

More information about the samba mailing list