[PATCH] Fix broken folder creation in smbclient using a base directory.

Andreas Schneider anschneider at suse.de
Thu Dec 6 13:52:11 GMT 2007


Volker Lendecke wrote:
> 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"
>> or
>> 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.

The line was there in

http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16970

I wasn't able to find the commit where it was removed.

> 
> Thanks,
> 
> Volker

	-- andreas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20071206/b92c418a/signature.bin


More information about the samba-technical mailing list