pythongssapi / pythongssapi/python-gssapi
OSError: Could not find KfW installation
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 116
- Fork
- 55
- Merge medio
- 1g 24m
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Iniziate individuando la logica Windows che rileva l'installazione di Kerberos e riproducete l'ordine di PATH segnalato quando sono presenti sia le directory JDK sia quelle di Kerberos. Verificate che il rilevamento controlli i percorsi candidati di kinit.exe e selezioni l'installazione di Kerberos invece del primo eseguibile, quindi confermate che il caricamento di gssapi riesca in questa configurazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- authentication, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100