Finding the version of kinit/klist

Ken Raeburn raeburn at MIT.EDU
Sun Mar 8 16:21:54 EDT 2009

On Mar 7, 2009, at 21:49, Rainer Laatsch wrote:
> The OpenAFS people force a string into their programs at compile  
> time, no extra flags. Doing e.g. 'strings /usr/vice/etc/afsd | grep  
> OpenAFS' shows the version. A similar setup for krb5 would suffice;  
> just propagate the
> corresponding item of krb5-config into kinit/klist/kdestroy.

We have something a little like that in the krb5 library, but (1)  
telling a user to run the right "strings" invocation is a lot less  
friendly than a --version flag, and (2) it looks like the optimizer  
can throw the string away, in the current incarnation. :-(


More information about the Kerberos mailing list