[Samba] smbclient mask command seems not to work the same way with recurse ON for mget and mput
lpcdpg at gmail.com
Tue Aug 25 10:04:36 UTC 2020
Confirmed: compilation of 4.12.6 produces same result, mput + recurse
ignores mask for files.
Will you please tell me if you need further details, or which steps I
should follow? Should I file a bug?
Many thanks. Best regards.
El mar., 25 ago. 2020 a las 9:52, LPC DPG (<lpcdpg at gmail.com>) escribió:
> Dear Andrew.
> You are right, I should have taken a deeper look into the standard output
> during compilation. I did just assume source4 was the one for Samba4.
> Anyway, besides the source confusion (really, even if I had found the
> right one, following the code would have been out of my reach), I don't
> seem to find how that is related with the documentation issue, or the
> mput/mask/recurse commands combination issue.
> May I ask whether any of you have made the test trying to transfer
> recursively filtered files?
> Many thanks. Best regards.
> El mar., 25 ago. 2020 a las 2:36, Andrew Bartlett (<abartlet at samba.org>)
>> On Tue, 2020-08-25 at 00:49 +0200, LPC DPG via samba wrote:
>> > Dear Jeremy.
>> > Really appreciate you took your time to answer. I had already
>> > reviewed
>> > source4/client/client.c looking for mput (cmd_mput) command, but
>> > unluckily
>> > saying that my C programming skills are poor woud be really
>> > overrating them.
>> To make things even more confusing, the code in source4/client/client.c
>> is not the code for the smbclient you are running. That one is for a
>> forked copy left over from the samba3/samba4 split, which we don't
>> install onto the system (but is still used in some testing, so can't be
>> removed from our git repo).
>> The one you are after is in source3/client/client.c
>> Andrew Bartlett
>> Andrew Bartlett https://samba.org/~abartlet/
>> Authentication Developer, Samba Team https://samba.org
>> Samba Developer, Catalyst IT
More information about the samba