On Wednesday, August 8, 2012 at 7:17 PM, Peter Loron wrote:
Yeah, I was using 5985 before I got the HTTPS endpoint set up. No difference.When I put two backslashes in the username, it does not change the outcome. I do see that the output from the knife command shows both backslashes in the "failed to authenticate as" line.-PeteOn Aug 8, 2012, at 3:59 PM, Tim Green wrote:I noticed in your knife args (again, going back to KNIFE-25) that you used -p 5986. Did you try changing to 5985 when you tested unencrypted auth settings?Also, did you try separating the domain\user with domain\\user instead? I think if you don't have '\\' as the separator the plugin might use the wrong code path for authentication.-TimOn Wednesday, August 8, 2012 at 6:54 PM, Peter Loron wrote:
Output below. For now I have enabled Basic auth as well as allowing unencrypted connections.Thanks.-PetePS C:\Windows\system32> winrm get winrm/config/serviceServiceRootSDDL = O:NSG:BAD:P(A;;GA;;;BA)S:P(AU;FA;GA;;;WD)(AU;SA;GWGX;;;WD)MaxConcurrentOperations = 4294967295MaxConcurrentOperationsPerUser = 15EnumerationTimeoutms = 60000MaxConnections = 25MaxPacketRetrievalTimeSeconds = 120AllowUnencrypted = trueAuthBasic = trueKerberos = trueNegotiate = trueCertificate = falseCredSSP = falseCbtHardeningLevel = RelaxedDefaultPortsHTTP = 5985HTTPS = 5986IPv4Filter = *IPv6Filter = *EnableCompatibilityHttpListener = falseEnableCompatibilityHttpsListener = falseCertificateThumbprintOn Aug 8, 2012, at 3:49 PM, Tim Green wrote:Peter,Maybe you could provide the output to the following command on the host you're trying to connect to?winrm get winrm/config/serviceI see from the ticket that you're not able to run it unencrypted, but it might be a good idea to try and make this work first.-TimOn Wednesday, August 8, 2012 at 6:43 PM, Peter Loron wrote:
Hello. I'm working on trying to get some tests completed using chef and the knife-windows plugin. I'm hoping to be able to prove out using chef to replace our deployment tooling as well as doing the usual infrastructure automation. The issue I'm running into is that while I can issue remote commands directly to another Windows machine via winrs, I cannot issue the same command using the knife-windows plugin. There is an existing ticket on this issue, which I have added my comments to:http://tickets.opscode.com/browse/KNIFE_WINDOWS-25I'm happy to work with the devs (in person is ok…I'm about 2 blocks from the Opscode office) in getting this solved.Thanks!-Pete
Archive powered by MHonArc 2.6.16.