Wow, I've created packet traces for SMB1 and SMB3. The setinfo command sends the same values but it fails with SMB3.
I will contact Microsoft, I don't see that Samba is doing something wrong.
I've created test for this scenario.
Everything should work after new version.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.