I had 2 problems for using check_disk_smb
- The first was, I can't list the share with a dollar
at the end of the smb share
- The second was, my smb password contain the ">"
caracter.
I have corrected these two things like this :
1°/
Before :
my $share = $1 if (opt_$ =~ /([-_.A-Za-z0-9])/);
After
my $share = $1 if (opt_$ =~ /([\$-_.A-Za-z0-9])/);
2°/
Before :
$res = qx/$smbclient \/\/$host\/$share $pass ...
After :
$res = qx/$smbclient \/\/$host\/$share '$pass' ...
It works perfectly now. :op
Logged In: NO
Figures that I would fix this before seeing your patch.
Thanks anyway!