diff --git a/internal/ad/krb5.go b/internal/ad/krb5.go index 902997b4c..70224fc15 100644 --- a/internal/ad/krb5.go +++ b/internal/ad/krb5.go @@ -44,7 +44,7 @@ func TicketPath() (string, error) { cKrb5cc, err := C.get_ticket_path() defer C.free(unsafe.Pointer(cKrb5cc)) if err != nil { - return "", err + return "", fmt.Errorf(gotext.Get("error initializing krb5 context, krb5_error_code: %d", err)) } krb5cc := C.GoString(cKrb5cc) if krb5cc == "" {