Comments on the use of plugins

Nicolas Williams Nicolas.Williams at
Fri Jun 15 11:56:02 EDT 2007

On Fri, Jun 15, 2007 at 09:31:14AM -0500, Douglas E. Engert wrote:
> While testing the PKINIT code from the svn, I ran into some issues with plugins.
>    o The location of the plugin directory is absolute set from
>       LIBDIR /krb5/plugins/preauth/ This can not be overridden
>       from krb5.conf, a parameter or the ENV.  I had to reconfigure
>       with a --prefix=/krb5m  then add a /krb5m-> /afs/
>       For production, there needs to be a way to specify an
>       alternate location, maybe from krb5.conf, or at least from
>       a KRB5_* env variable.

It might be nice, in general, if there was some facility to help
applications find a directory that is supposed to hold plug-ins for a
specific interface.

Something like RPATH, including support for tokens like $ORIGIN
(including both, the origin of the app and the origin of the shared
object calling dlopen()).


More information about the krbdev mailing list