[chef] reg winrm auth


Chronological Thread 
  • From: indra < >
  • To:
  • Subject: [chef] reg winrm auth
  • Date: Sat, 08 Nov 2014 15:55:43 +0530

Hi,

Using winrm itself,how to authenticate windows from linux using ruby?

here is my code:
winrm = WinRM::WinRMWebService.new("172.16.1.197", :plaintext, :user => "administrator", :pass => " ", :basic_auth_only => true)do
 puts "connected successfully"
end

BUt it doesnot shows connect successfully ,it doesnot execute do loop ,also not showing any error

Thanks,
Indra



Archive powered by MHonArc 2.6.16.

§