Skip to content

Call to krb5ktauth missing hostname parameter

This line here https://gitlab.cern.ch/linuxsupport/rpms/cern-get-certificate/-/blob/d7c6e5983200addef490641569fe7dbd4ac73ac2/src/cern-get-certificate.pl#L837 is missing the first parameter ($hostname).

That causes the function call to fail because the following parameters are all shifted over.

Reauthenticating using keytab file.
using keytab file name: MEMORY:cgcccache.9
keytab file not readable.
Error: Cannot authenticate using keytab file.

@morrice @djuarezg can you fix and release a new version?