Hi,
I want to access my windows machine using the domain account. I installed
kerberos on my control node (centos) . And configured the krb5.conf as
follows :
[realms]
MYDOMAIN.COM <http://etbdenevr.com/> = {
kdc = my-domain-controller.com <http://iota-1-pdc.etbdenver.com/>
}
[domain_realm]
.mydomain.com <http://etbdenver.com/> = MYDOMAIN.COM
<http://etbdenver.com/>
<http://etbdenver.com/>In my windows.yml file i have the following details :
ansible_ssh_user: '[email protected] <[email protected]>'
ansible_ssh_pass: 'mypassword'
ansible_ssh_port: '5986'
ansible_connection: 'winrm'
When i run the command kinit [email protected] it prompts for the
password but does nothing after i enter it. It just accepts it and moves on.
When i tried to ping my windows machine it returns the following error
Loaded callback minimal of type stdout, v2.0
<windowsip> ESTABLISH WINRM CONNECTION FOR USER: [email protected]
<[email protected]> on PORT 5986 TO windowsip
windowsip | FAILED! => {
"failed": true,
"msg": "ERROR! plaintext: 401 Unauthorized. basic auth failed"
}
What is the issue here? Is there some more configuration that i need to do
? Like a certificate or sumthing on the windows machine?
Regards
Jugal Porwal
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c81c58ea-8e30-416f-b642-5185ae01afb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.