Sambastatus: my first module for nethserver


(Carlo Minucci) #61

thank you @mrmarkuz, @Ctek and @netbix

(Carlo Minucci) #62

i’m the king of the bugfix :smiley:

now is “NethServer 7 ready” :slight_smile:

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”

(Antonio) #63


I have upgrade package but …

Nome Utente -> OK
Nome Host -> NOT OK
Indirizzo IP -> OK

My Nethserver 7 DC

(Antonio) #64

[root@sogomail ~]# smbstatus -p

Samba version 4.4.4
PID Username Group Machine Protocol Version Encryption Signing

15220 domain (ipv4: SMB3_11 - partial(AES-128-CMAC)
[root@sogomail ~]#

(Carlo Minucci) #65

mmm… ok
i’ll try to fix in the next release :slight_smile:

(Filippo Carletti) #66

Please, don’t create files in %post.
Revert and add a file in the rpm package like in this example:

(Alessio Fattorini) #67

Ahaha :crown:
Amazing collaborative effort guys :smiley:

(Carlo Minucci) #68

this is the hardware version of SambaStatus :slight_smile:

(Enrique D) #69

I wonder if is safe to install the module?