[PATCH] Fix broken folder creation in smbclient using a base
Volker.Lendecke at SerNet.DE
Thu Dec 6 11:47:21 GMT 2007
On Thu, Dec 06, 2007 at 12:36:12PM +0100, Andreas Schneider wrote:
> Volker Lendecke wrote:
> > On Wed, Dec 05, 2007 at 02:17:38PM +0100, Andreas Schneider wrote:
> >> -
> >> + pstrcat(cur_dir, CLI_DIRSEP_STR);
> >> +
> > Does that also work if the / had already been there?
> Yes, it does.
> smbclient //foo/bar -D /blah/ -c "mkdir blubb"
> gives the same result as
> smbclient //foo/bar -D /blah -c "mkdir blubb"
> smbclient //foo/bar -D blah -c "mkdir blubb"
> I've updated the patch that it applies cleanly to the latest git v3-2-test.
Thanks. Excuse me to send you into another round, but I'd
like to see positive feedback from the original reporter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071206/686ab721/attachment.bin
More information about the samba-technical