Python - winrm ntlm auth

preview_player
Показать описание
Check out my video for NTLM authentication with python and the pywinrm module. This is a really cool module if you want to create scripts which run with domain credentials.

Рекомендации по теме
Комментарии
Автор

I am getting module has no attribute session

srikuttyworld
Автор

Hi,

We are using Ansible to create and delete Windows/linux VM,

below error is seen, while creating VM

{
"msg": "ntlm: HTTPSConnectionPool(host='tabcdxxx0001.abcdef.com', port=5986): Max retries exceeded with url: /wsman (Caused by object at 0x7fb278f3abd0>: Failed to establish a new connection: [Errno 110] Connection timed out', ))",
"unreachable": true,
"changed": false
}
every build requires a delete of the VM and rebuild to get it past this error.

first WinRM connection attempt to the newly build Windows VM is failing but successful on the next

arpitha
visit shbcf.ru