rpcclient can crash using setuserinfo(2) with: smb_panic (why=0x7fa8c511aa88 "Frame not freed in order.")
Created attachment 17426 [details] "raw" untested patch.
At least it compiles :-).
This bug was referenced in samba master: 2b32d932223e61935fc530eff1c05034ff817e21
Created attachment 17428 [details] patch for 4.16 and 4.15
Re-assigning to Jule for inclusion in 4.16.next, 4.15.next.
Pushed to autobuild-v4-{16,15}-test.
This bug was referenced in samba v4-15-test: f9815fddb5e1a49c18e43c31a6f07af4def43393
This bug was referenced in samba v4-16-test: 529e86163a34845502e89f56801be476ec35348c
Closing out bug report. Thanks!
This bug was referenced in samba v4-16-stable (Release samba-4.16.5): 529e86163a34845502e89f56801be476ec35348c
This bug was referenced in samba v4-15-stable (Release samba-4.15.10): f9815fddb5e1a49c18e43c31a6f07af4def43393