smbstatus/net status shares are segfaulting if there are incomplete sessions. Need to check whether session_info is available or not. Patch follows up.
Created attachment 9035 [details] patch set for 4.0 cherry-picked from master
Created attachment 9036 [details] patch set for 4.1 cherry-picked from master
Re-assigning to Karolin for inclusion in 4.1.0 and 4.0.next. Jeremy.
Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
Pushed to v4-1-test and v4-0-test. Closing out bug report. Thanks!