giraffe icon indicating copy to clipboard operation
giraffe copied to clipboard

Keberos principal set incorrectly?

Open ashmeer7 opened this issue 9 years ago • 1 comments

In at least one environment, we had to specify the principal name both via the Giraffe API and via sun.security.krb5.principal property.

ashmeer7 avatar Aug 26 '15 20:08 ashmeer7

I think this actually means that Giraffe is setting the principal property to the incorrect value. According to the javadoc the sun.security.krb5.principal property overwrites the value specified in the module by Giraffe.

Currently, Giraffe uses the username as the principal. In this environment, we know that the actual principal was different than the username. I suspect the code that failed passed the regular Linux username to Giraffe and then had to use the system property to specify the correct principal.

Giraffe should either clarify that it expects the principal instead of the username, or we should figure out how tools like SSH can automatically choose the correct principal (perhaps we shouldn't specify it at all, falling back to the system configuration).

bluekeyes avatar Aug 26 '15 21:08 bluekeyes