From 8ce9826794067298504083be0ddc9b8e4551144e Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Mon, 17 Feb 2014 09:56:44 +0100 Subject: [PATCH] Refs #5183 --- centreon/plugins/wsman.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon/plugins/wsman.pm b/centreon/plugins/wsman.pm index 95370166c..e777eadce 100644 --- a/centreon/plugins/wsman.pm +++ b/centreon/plugins/wsman.pm @@ -45,7 +45,7 @@ my %auth_method_map = ( basic => $openwsman::BASIC_AUTH_STR, digest => $openwsman::DIGEST_AUTH_STR, pass => $openwsman::PASS_AUTH_STR, - ntml => $openwsman::NTML_AUTH_STR, + ntlm => $openwsman::NTLM_AUTH_STR, gssnegotiate => $openwsman::GSSNEGOTIATE_AUTH_STR, ); @@ -414,7 +414,7 @@ sub check_options { $self->{wsman_params}->{wsman_scheme} = $options{option_results}->{wsman_scheme}; if (!defined($options{option_results}->{wsman_auth_method}) || !defined($auth_method_map{$options{option_results}->{wsman_auth_method}})) { - $self->{output}->add_option_msg(short_msg => "Wrong wsman auth method parameter. Must be 'basic', 'noauth', 'digest', 'pass', 'ntml' or 'gssnegotiate'."); + $self->{output}->add_option_msg(short_msg => "Wrong wsman auth method parameter. Must be 'basic', 'noauth', 'digest', 'pass', 'ntlm' or 'gssnegotiate'."); $self->{output}->option_exit(); } $self->{wsman_params}->{wsman_auth_method} = $options{option_results}->{wsman_auth_method};