Skip to content

OSError: Could not find KfW installation #290

Description

@zenoran

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?

  1. Install Kerberos somewhere other than c:\Program Files\MIT\Kerberos
  2. Install JDK
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions