| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib64/python3.9/site-packages/gssapi/__pycache__/ |
Upload File : |
a
��_� � @ sh d Z ddlZddlZddlZej�ej�dd�ddd�ZdZ d d
� Z
dd� Zd
d� Zej
dkrde� dS )aN
Using GSSAPI on Windows requires having an installation of Kerberos for Windows
(KfW) available in the user's PATH. This module should be imported before
anything else to check for that installation, add it to the PATH if necessary,
and throw any errors before they manifest as cryptic missing DLL errors later
down the import tree.
� NZProgramFileszC:\Program FilesZMITZKerberos�binz!https://web.mit.edu/KERBEROS/distc C s, zt �d� W n ty" Y dS 0 dS dS )z3Return if the main GSSAPI DLL for KfW can be loadedzgssapi64.dllFTN)�ctypesZWinDLL�OSError� r r �8/usr/lib64/python3.9/site-packages/gssapi/_win_config.py�
kfw_available s
r c C s t dttf ��dS )z@Raise an OSError detailing that KfW is missing and how to get itz�Could not find KfW installation. Please download and install the 64bit Kerberos for Windows MSI from %s and ensure the 'bin' folder (%s) is in your PATH.N)r �KFW_DL�KFW_BINr r r r �error_not_found s
��r
c C s� t � r
dS tj�t�rZzt�t� W n* tyN tjd tjt 7 <