The -P option to smbget should go away with 4.4.
Created attachment 11887 [details] patch for 4.4 with cherry-pick information I pulled in an unrelated patch to allow clean cherry-picking of the test code.
Comment on attachment 11887 [details] patch for 4.4 with cherry-pick information LGTM
Karolin, please add this to Samba 4.4. It adds more fixes and finally we have tests for smbget! Thanks ...
Pushed to autobuild-v4-4-test.
(In reply to Karolin Seeger from comment #4) Pushed to v4-4-test. Closing out bug report. Thanks!