That causes that the %R (substitution) will not become the name of the negotiated smb2/3 protocol. Patch will follow up.
Created attachment 8400 [details] proposed patch cherry-picked from master
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test. Closing out bug report. Thanks!