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: (backport) Fix kerberos auth encoding for Python 3 #36465

Merged
merged 1 commit into from
Feb 20, 2018

Conversation

jborean93
Copy link
Contributor

SUMMARY

On Python 3, subprocess stdin should be a byte string and currently password is stored as a unicode string. This fix converts the string to bytes and uses that in the communicate process.

Was fixed in devel with 92e52ef#diff-4027b6fb84a6b8cdcd2ae5a0d348998d but because it added new features this is a manual backport for this fix.

Fixes #36255

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

winrm

ANSIBLE VERSION
2.4

@jborean93 jborean93 changed the title winrm: Fix kerberos auth encoding for Python 3 winrm: (backport) Fix kerberos auth encoding for Python 3 Feb 20, 2018
@ansibot
Copy link
Contributor

ansibot commented Feb 20, 2018

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 backport This PR does not target the devel branch. bugfix_pull_request python3 support:core This issue/PR relates to code supported by the Ansible Engineering Team. windows Windows community labels Feb 20, 2018
@jborean93 jborean93 merged commit 55f903e into ansible:stable-2.4 Feb 20, 2018
@jborean93 jborean93 deleted the py3-kerb-fix branch February 20, 2018 22:43
@jborean93 jborean93 added this to Done in 2.4.4 in 2.4.x Blocker List Feb 20, 2018
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 backport This PR does not target the devel branch. bug This issue/PR relates to a bug. python3 support:core This issue/PR relates to code supported by the Ansible Engineering Team. windows Windows community
Projects
No open projects
2.4.x Blocker List
Done in 2.4.4
Development

Successfully merging this pull request may close these issues.

None yet

3 participants