Regarding the Ansible Docs page on Installing python-kerberos dependencies 
<http://docs.ansible.com/ansible/intro_windows.html#active-directory-support>, 
it lists 6 different install procedures.  As I understand I only need to 
run one of these based on my os, not all 6.  Is that correct?

On Friday, May 27, 2016 at 11:18:02 AM UTC-5, skinnedknuckles wrote:
>
> Control Node:
>
>    - CentOS 7
>    - Ansible 2.1
>    - pywinrm version from May 19th, 2016
>
> Remote Node:
>
>    - Windows 7
>    - Powershell 3
>
>
>
> I'm able to connect to my Windows remote node just fine with the 
> powershell setting *winrm/config/server/AllowUnencrypted=true*.  But when 
> I change it to false I get the error below.  I'm trying to use Kerberos. 
>  What am I doing wrong or how should I diagnose the problem?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *$ ansible windows -m win_ping -vvvvvNo config file found; using 
> defaultsLoaded callback minimal of type stdout, v2.0<ADS-6999> ESTABLISH 
> WINRM CONNECTION FOR USER: ansibleAdmin on PORT 5986 TO ADS-6999<ADS-6999> 
> WINRM CONNECT: transport=kerberos endpoint=https://ADS-6999:5986/wsman 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__ADS-2D6999-3A5986_wsman&d=CwMFaQ&c=IGDlg0lD0b-nebmJJ0Kp8A&r=ATO-uJXWOBdlXfHiWeQfW-8RNV-1NXeUTYIEq2ZNDg4&m=-onXPFRqIMDCtRo7_m9XkC3nOC4xIpQkQWKM0l4jPUo&s=kO_2d9w5rZF-SAxmt_YAoID0cJqOODW4tgpQtGfOpoc&e=><ADS-6999>
>  
> WINRM CONNECTION ERROR: (('Unspecified GSS failure.  Minor code may provide 
> more information', 851968), ('No Kerberos credentials available', 
> -1765328243))Traceback (most recent call last):  File 
> "/etc/ansible/lib/ansible/plugins/connection/winrm.py", line 134, in 
> _winrm_connect    protocol.send_message('')  File 
> "/usr/lib/python2.7/site-packages/winrm/protocol.py", line 193, in 
> send_message    return self.transport.send_message(message)  File 
> "/usr/lib/python2.7/site-packages/winrm/transport.py", line 269, in 
> send_message    krb_ticket = KerberosTicket(self.krb_service)  File 
> "/usr/lib/python2.7/site-packages/winrm/transport.py", line 205, in 
> __init__    kerberos.authGSSClientStep(krb_context, '')GSSError: 
> (('Unspecified GSS failure.  Minor code may provide more information', 
> 851968), ('No Kerberos credentials available', -1765328243))ADS-6999 | 
> FAILED! => {    "failed": true,     "msg": "kerberos: (('Unspecified GSS 
> failure.  Minor code may provide more information', 851968), ('No Kerberos 
> credentials available', -1765328243))"}*
>
>
> here is my file from the group_vars direcctory
>
> $ cat windows.yml
> ---
> ansible_user: ansibleAdmin
> ansible_password: ********
> ansible_port: 5986
> ansible_connection: winrm
> ansible_winrm_transport: kerberos
> ansible_winrm_kerberos_delegation: yes
>

-- 
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/f4d91fbf-46bd-41df-b6ec-39ef056a994a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to