i’m the king of the bugfix
now is “NethServer 7 ready”
I put script in %post section of rpm package which add a file in /etc/sudoers.d/ if found nethserver version 7. The control check is into the php file too, if the version is 7 use “sudo smbstatus” instead of “smbstatus”
I have upgrade package but …
Nome Utente -> OK
Nome Host -> NOT OK
Indirizzo IP -> OK
My Nethserver 7 DC
[root@sogomail ~]# smbstatus -p
Samba version 4.4.4
PID Username Group Machine Protocol Version Encryption Signing
i’ll try to fix in the next release
Please, don’t create files in %post.
Revert https://github.com/carlominucci/SambaStatus/commit/2600d6b7c0a3e28ff96a9960718d54286f8ffa38 and add a file in the rpm package like in this example:
Amazing collaborative effort guys
I wonder if is safe to install the module?