winrm: add better exception handling for krb5 auth with pexpect (#39930)

* winrm: add better exception handling for krb5 auth with pexpect

* Added changelog fragment

* Added exception handler in case kinit path isn't valid, added test cases

* fixed for Python 2 compatibility
This commit is contained in:
Jordan Borean
2018-05-24 06:33:07 +10:00
committed by Matt Davis
parent 457bccf540
commit 5e28e282a5
3 changed files with 188 additions and 12 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- winrm - Add better error handling when the kinit process fails