diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | THANKS.in | 1 | ||||
-rwxr-xr-x | plugins-scripts/check_disk_smb.pl | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,7 @@ This file documents the major additions and syntax changes between releases. | |||
14 | Fix compilation with GCC 2.96 (Konstantin Khomoutov - #2977105) | 14 | Fix compilation with GCC 2.96 (Konstantin Khomoutov - #2977105) |
15 | Fix regression introduced in #1867716 where partially valid performance strings would not be printed anymore | 15 | Fix regression introduced in #1867716 where partially valid performance strings would not be printed anymore |
16 | Fix regression in check_http ssl checks on some servers - make SNI an option | 16 | Fix regression in check_http ssl checks on some servers - make SNI an option |
17 | Fix guest mode support in check_disk_smb | ||
17 | WARNINGS | 18 | WARNINGS |
18 | Updated developer documentation to say that performance labels should not have an equals sign or | 19 | Updated developer documentation to say that performance labels should not have an equals sign or |
19 | single quote in the label | 20 | single quote in the label |
@@ -260,3 +260,4 @@ Marcel Kuiper | |||
260 | Bryan Irvine | 260 | Bryan Irvine |
261 | Jimmy Bergman | 261 | Jimmy Bergman |
262 | Konstantin Khomoutov | 262 | Konstantin Khomoutov |
263 | Josip Rodin | ||
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl index 985fa96..022fa50 100755 --- a/plugins-scripts/check_disk_smb.pl +++ b/plugins-scripts/check_disk_smb.pl | |||
@@ -78,6 +78,7 @@ my $user = $1 if ($opt_u =~ /^([-_.A-Za-z0-9\\]+)$/); | |||
78 | 78 | ||
79 | ($opt_p) || ($opt_p = shift) || ($opt_p = ""); | 79 | ($opt_p) || ($opt_p = shift) || ($opt_p = ""); |
80 | my $pass = $1 if ($opt_p =~ /(.*)/); | 80 | my $pass = $1 if ($opt_p =~ /(.*)/); |
81 | $pass = "-N" if ($opt_p eq ""); | ||
81 | 82 | ||
82 | ($opt_w) || ($opt_w = shift) || ($opt_w = 85); | 83 | ($opt_w) || ($opt_w = shift) || ($opt_w = 85); |
83 | my $warn = $1 if ($opt_w =~ /^([0-9]{1,2}\%?|100\%?|[0-9]+[kMG])$/); | 84 | my $warn = $1 if ($opt_w =~ /^([0-9]{1,2}\%?|100\%?|[0-9]+[kMG])$/); |