The Samba-Bugzilla – Bug 11012
smbstatus can only work as root
Last modified: 2017-03-27 10:57:09 UTC
smbstatus can only work as root as it need to access databases with sensitive information. We should print a warning to a user trying to execute it as root.
What sort of warning you want to be printed for root user?
1. smbd is running from root user.
2. smbstatus tried to run from nonroot
smbstatus only works as root!