[chef] RE: Knife-Windows and Domain Authentication


Chronological Thread 
  • From: Derek Schultz < >
  • To: "' '" < >
  • Subject: [chef] RE: Knife-Windows and Domain Authentication
  • Date: Tue, 24 Jul 2012 21:28:06 +0000
  • Accept-language: en-US

By the way, this was with version 0.5.8 of Knife-Windows. I did a gem uninstall, cloned the latest 0.5.10.rc.1 from GitHub, built and installed the gem and am still experiencing the same issue. Any ideas are welcome J

 

Cheers,

Derek

From: Derek Schultz [mailto:
Sent: Tuesday, July 24, 2012 11:41 AM
To:
Subject: [chef] Knife-Windows and Domain Authentication

 

Chefs,

 

I’m having some issues with getting Chef to communicate with our Windows 2003 R2 servers. There appears to be an problem with domain auth when running `knife winrm` as noted in an open ticket: http://tickets.opscode.com/browse/KNIFE_WINDOWS-25

 

I’ve copied the output of the knife command below. Also, note that I CAN communicate via WinRM between 2 Windows systems without issue, so that “should” rule out improper config in WinRM.

 

$ knife winrm "domain.com" "dir c:/" -m -x 'domain\administrator' -P'****' -VV

DEBUG: Using configuration from /home/chef/.chef/knife.rb

DEBUG: Adding domain.com

DEBUG: :session => :init

DEBUG: :relay_to_servers => dir c:/

DEBUG: :relayed => domain.com

DEBUG: domain.com => :run_command

ERROR: Failed to authenticate to ["domain.com"] as domain\administrator

Response: Bad HTTP response returned from server (401).

 

Anybody experience this same issue and have a workaround? I wish I could stick solely to the Linux management, but unfortunately I need to manage the Windows side as well, thus having to endure much pain throughout the process.

 

Cheers,

Derek




Archive powered by MHonArc 2.6.16.

§