execute same command on two different poller vesion :
/usr/lib/centreon/plugins/centreon_protocol_cifs.pl --plugin=apps::protocols::cifs::plugin --mode=connection --hostname='XX.XX.XX.XX' --directory='/XXXXXXX'
There is a security difference between smbclient version, blocking smb connection on ALMA8 distribution or perl package .
Do you know how change option.
Ok found !
To check a smb share on SMBV1 you have to edit /etc/samba/smb.conf and add to [global]
client min protocol = NT1
server min protocol = NT1
ntlm auth = ntlmv1-permitted
Bug report
Quick description
It seems there is a difference of security share on this tow pollers (SMB1/2/3 on client)
ON ALMALINUX8 POLLER:
ON CENTOS7 POLLER:
How to reproduce
execute same command on two different poller vesion : /usr/lib/centreon/plugins/centreon_protocol_cifs.pl --plugin=apps::protocols::cifs::plugin --mode=connection --hostname='XX.XX.XX.XX' --directory='/XXXXXXX'
Expected result
OK: authentication succeeded - connection time: 0.027s | 'connection.time.seconds'=0.027s;;;0;
Actual result
There is a security difference between smbclient version, blocking smb connection on ALMA8 distribution or perl package . Do you know how change option.
Installed package on ALMA8:
Installed package on CENTOS7: