Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinRM - Cannot locate KDC #55

Open
JoeJe1993 opened this issue Mar 27, 2018 · 3 comments
Open

WinRM - Cannot locate KDC #55

JoeJe1993 opened this issue Mar 27, 2018 · 3 comments

Comments

@JoeJe1993
Copy link

JoeJe1993 commented Mar 27, 2018

Scripts are copying over to the target machine perfectly fine as I can see them in the C:\Windows\Temp directory, but they're failing to execute. I'm getting the following error:

image

[overthere-winrm:xxx-xxx-xxx] failed: WinRM Error: Login failure sending message on https://xxx-xxx-xxx:5986/wsman error: Cannot locate KDC Request: <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header> <a:To xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">https://xxx-xxx-xxx:5986/wsman</a:To> <a:ReplyTo xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <a:Address mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address> </a:ReplyTo> <w:MaxEnvelopeSize xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" mustUnderstand="true">153600</w:MaxEnvelopeSize> <a:MessageID xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:D9F64D95-EAA2-4FF6-8497-E6A67CF6A346</a:MessageID> <w:Locale xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" mustUnderstand="false" xml:lang="en-US"/> <p:DataLocale xmlns:p="http://schemas.microsoft.com/wbem/wsman/1/wsman.xsd" mustUnderstand="false" xml:lang="en-US"/> <w:OperationTimeout xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">PT60.000S</w:OperationTimeout> <a:Action xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action> <w:ResourceURI xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" mustUnderstand="true">http://schemas.microsoft.com/wbem/wsman/1/windows/shell/cmd</w:ResourceURI> <w:OptionSet xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"> <w:Option Name="WINRS_NOPROFILE">FALSE</w:Option> <w:Option Name="WINRS_CODEPAGE">437</w:Option> </w:OptionSet> </env:Header> <env:Body> <rsp:Shell xmlns:rsp="http://schemas.microsoft.com/wbem/wsman/1/windows/shell"> <rsp:InputStreams>stdin</rsp:InputStreams>

Any help would be greatly appreciated!

@wvcardoso
Copy link

I'm the same problem :-(

@thomsonac
Copy link

Have you configured /etc/krb5.conf properly as well as added it as a load string for the rundeck service? E.g. -Djava.security.krb5.conf=/etc/krb5.conf

@liberodark
Copy link

liberodark commented Oct 18, 2022

Hi, @thomsonac

Strangely for me is not find the file but is exist :
/etc/rundeck/profile: line 84: -Djava.security.krb5.conf=/etc/krb5.conf: No such file or directory

Best Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants