Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: windows-0.5.3
-
Fix Version/s: None
-
Component/s: knife-windows
-
Labels:None
-
Environment:
MacOS X 10.6.7
Darwin innsmouth.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
Description
Trying to do any knife commands via winrm seems to fail unless the user you're authenticating as is the local Administrator account. Note that if you're using an account that is in the administrator group is not sufficient. It only seems to be working if you use HOST\Administrator.
Also, it would be nice to not have to cleartext passwords (prompt for it, maybe?)
Issue Links
- relates to
-
KNIFE-8
WinRM Should use NTLM Auth when \\ is detected in username
-
I actually think this also points to a larger issue that chef-client should always be run under the Administrator account on newer windows (Windows Vista, Windows 7, Windows Server 2008)
It appears UAC causes all kinds of fun and a user in the local admin group is not the same as the Administrator account:
http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/a1a58463-6cb9-46f5-9a98-25cfec33d222/
I see two options:
C:\Users\Seth Chisamore>runas /user:Administrator cmd Enter the password for Administrator: