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:
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:
Closing out bug report.
This bug was referenced in samba v4-16-stable (Release samba-4.16.0rc5):