# Windows: Kerberos broken in current devel?

**URL:** <https://forum.ansible.com/t/windows-kerberos-broken-in-current-devel/19396>\
**Category:** Ansible Developer\
**Tags:** windows\
**Created:** [September 30, 2015, 5:57pm UTC](https://forum.ansible.com/t/windows-kerberos-broken-in-current-devel/19396 "2015-09-30T17:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trond\_Hindenes](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Post date:** [September 30, 2015, 5:57pm UTC](https://forum.ansible.com/t/windows-kerberos-broken-in-current-devel/19396/1 "2015-09-30T17:57:18Z")

</div>

All of a sudden I’m getting some nasty winrm errors in my lab env. I’m building my ansible control node from the same script every time, and the windows boxes haven’t changes. This is what I’m seeing:

\<thansiblewinDC.ansib.le\> ESTABLISH WINRM CONNECTION FOR USER: ansible@ANSIB.LE on PORT 5986 TO thansiblewinDC.ansib.le  
\<thansiblewinDC.ansib.le\> WINRM CONNECT: transport=plaintext endpoint=[https://thansiblewinDC.ansib.le:5986/wsman](https://thansiblewinDC.ansib.le:5986/wsman)

\<thansiblewinDC.ansib.le\> WINRM CONNECTION ERROR: 401 Unauthorized.  
Traceback (most recent call last):  
File “/home/ansible/ansible/ansible/lib/ansible/plugins/connection/winrm.py”, line 126, in \_winrm\_connect  
protocol.send\_message(‘’)  
File “/usr/local/lib/python2.7/dist-packages/winrm/protocol.py”, line 190, in send\_message  
return self.transport.send\_message(message)  
File “/usr/local/lib/python2.7/dist-packages/winrm/transport.py”, line 99, in send\_message  
raise UnauthorizedError(transport=‘plaintext’, message=ex.msg)  
UnauthorizedError: 401 Unauthorized.

Looks like Ansible is attempting a plaintext login even tho I’m using a domain user (“@”). I also tried setting the new “ansible\_winrm\_transport”: “kerberos” variable, but the problem persists.

---

<div class="post-metadata">

**Author:** ![Trond\_Hindenes](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Post date:** [September 30, 2015, 9:01pm UTC](https://forum.ansible.com/t/windows-kerberos-broken-in-current-devel/19396/2 "2015-09-30T21:01:50Z")

</div>

my bad somehow. Redeployed the ctrl node and everything worked.
