In 4.16 and in the master since commit 99d1f1fa10d (smbd: Remove unused "struct connections_key"), no shares are printed with smbstatus. The commit removes the lines - key.pid = data.pid = global->server_id; - key.cnum = data.cnum = global->tcon_global_id; but it should have replaced them with + data.pid = global->server_id; + data.cnum = global->tcon_global_id;
This bug was referenced in samba master: b108e039ab13ee9f8f2c629c5b57085a462d14db 9e9e6955ba93691545ea35e39ebdc285cd484406
Jule, thanks so much for catching this before official 4.16 release. Sorry for missing this in the initial review.
Created attachment 17192 [details] git-am fix for 4.16.rcNext. Cherry-picked from master.
Pushed to autobuild-v4-16-test :-)
This bug was referenced in samba v4-16-test: 364b16068b1e46ba6aeffe321dd20840c35c2ab7 9df5283f3d99ef6627843c223141040bfe263cf1
Closing out bug report.
This bug was referenced in samba v4-16-stable (Release samba-4.16.0rc5): 364b16068b1e46ba6aeffe321dd20840c35c2ab7 9df5283f3d99ef6627843c223141040bfe263cf1