pythongssapi / pythongssapi/python-gssapi
OSError: Could not find KfW installation
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 116
- フォーク
- 55
- 平均マージ
- 1日 24分
- マージ済み PR(30日)
- 2
説明
What went wrong?
Loading gssapi on windows throws "OSError: Could not find KfW installation" when there are multiple kinit.exe in the PATH. Specifically, in the case of having the Java JDK being installed it satisfies the "kinit.exe" under that path and ignores the subsequent one pointing to the kerberos installation.
How do we reproduce?
- Install Kerberos somewhere other than c:\Program Files\MIT\Kerberos
- Install JDK
- Add the jdk\bin directory to the path before the Kerberos installation path
Making Kerberos the first directory in the path is obviously a workaround, but ideally the logic for finding the kerberos installation could be enhanced a bit to use "which --all" and validate the correct path.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Kerberos のインストールを検出する Windows のロジックを特定し、JDK ディレクトリと Kerberos ディレクトリの両方が存在する場合に報告された PATH の順序を再現します。検出処理が kinit.exe の候補パスを確認し、最初の実行可能ファイルではなく Kerberos のインストールを選択することを検証したうえで、その構成で gssapi のロードが成功することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- authentication, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100