gokrb5 icon indicating copy to clipboard operation
gokrb5 copied to clipboard

KVN is always 0

Open karman-docker opened this issue 1 year ago • 2 comments

Same as issue https://github.com/jcmturner/gokrb5/issues/456.

My keytab file has non-zero knv. I can see that using klist tool or on the AD itself.

But when I load the keytab file using the APIs of this library from keytab.String() I can see that knv is always 0.

This is causing client login fail, as kvns don't match.

karman-docker avatar Jan 23 '24 20:01 karman-docker

Hello, tell me, does kvno overflow the int data type?

Denis-shl avatar Feb 16 '24 08:02 Denis-shl

Hi @Denis-shl if you are asking me, in my case the KVNO that I see on the AD server and using klist tool was single digit number (I think it was 3 or 4), but when stringify my keytab file using keytab.String() from this package, I see kano is zero.

karman-docker avatar Feb 18 '24 20:02 karman-docker