<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Gents,<br></div><div><br></div><div>I'm trying to setup kerberos for use with pywinrm<br></div><div><br></div><div><a href="https://github.com/diyan/pywinrm/">https://github.com/diyan/pywinrm/</a><br></div><div><br></div><div>Unfortunately the instructions are geared towards linux, and I can't seem to get past this point<br></div><div><br></div><div>$ sudo yum install gcc krb5-devel krb5-workstation<br></div><div><br></div><div>Obviously I don't have yum, and where do I get the appropriate source? I'm on OmniOS 151016<br></div><div><br></div><div>Any suggestions please? And sorry for the ignorance, but this is my first attempt with Python.</div><div><br></div><div>And running the pip command throws the following errors:</div><div><br></div><div>root@omnitest:/root# pip install pywinrm[kerberos]
<br></div><div>DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<br></div><div>Requirement already satisfied (use --upgrade to upgrade): pywinrm[kerberos] in /usr/lib/python2.6/site-packages
<br></div><div>Requirement already satisfied (use --upgrade to upgrade): xmltodict in /usr/lib/python2.6/site-packages (from pywinrm[kerberos])
<br></div><div>Requirement already satisfied (use --upgrade to upgrade): requests>=2.9.1 in /usr/lib/python2.6/site-packages (from pywinrm[kerberos])
<br></div><div>Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.6/site-packages (from pywinrm[kerberos])
<br></div><div>Requirement already satisfied (use --upgrade to upgrade): requests-ntlm>=0.3.0 in /usr/lib/python2.6/site-packages (from pywinrm[kerberos])
<br></div><div>Collecting requests-kerberos>=0.10.0; extra == "kerberos" (from pywinrm[kerberos])
<br></div><div>/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
<br></div><div>SNIMissingWarning
<br></div><div>/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
<br></div><div>InsecurePlatformWarning
<br></div><div>Downloading requests_kerberos-0.10.0-py2.py3-none-any.whl
<br></div><div>Requirement already satisfied (use --upgrade to upgrade): python-ntlm3 in /usr/lib/python2.6/site-packages (from requests-ntlm>=0.3.0->pywinrm[kerberos])
<br></div><div>Collecting pykerberos<2.0.0,>=1.1.8; sys_platform != "win32" (from requests-kerberos>=0.10.0; extra == "kerberos"->pywinrm[kerberos])
<br></div><div>Downloading pykerberos-1.1.13.tar.gz
<br></div><div>Complete output from command python setup.py egg_info:
<br></div><div>Traceback (most recent call last):
<br></div><div>File "<string>", line 1, in <module>
<br></div><div>File "/tmp/pip-build-s071PJ/pykerberos/setup.py", line 52, in <module>
<br></div><div>extra_link_args = check_krb5_config("--libs", "gssapi")
<br></div><div>File "/tmp/pip-build-s071PJ/pykerberos/setup.py", line 36, in check_krb5_config
<br></div><div>raise subprocess.CalledProcessError(retcode, cmd, output=output)
<br></div><div>TypeError: __init__() got an unexpected keyword argument 'output'
<br></div><div><br></div><div>----------------------------------------
<br></div><div>Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s071PJ/pykerberos/
<br></div></div></body></html>