Password with exclamation sign (!) in command is not working

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Password with exclamation sign (!) in command is not wor

Post by imran_khan »

Hello,

Getting same error when change the password. I am using below command to manually run the check_sharepoint.pl pulgin. Please suggest me on the same.

./check_sharepoint.pl -H example.com -u "xyz\admin" -p AbcdPqr@@ -l '/default.aspx' -s 'Staff' -t 15 -http
CRITICAL: Authentication failed for account 'xyz\admin'

Thanks,
Imran Khan.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Password with exclamation sign (!) in command is not wor

Post by slansing »

Have you tried encasing the password definition in quotes? That is suggested by the creator of this plugin:

http://exchange.nagios.org/directory/Pl ... pl/details
Notes:
- If you use special characters in your usernames and/or passwords, authentication will
have a better chance of working if you enclose them in quotes.
Locked