On Thu, Sep 24, 2009 at 03:21:49PM +0200, Sumit Bose wrote:
On Thu, Sep 24, 2009 at 09:09:04AM -0400, Simo Sorce wrote:
> On Thu, 2009-09-24 at 14:39 +0200, Sumit Bose wrote:
> > Hi,
> >
> > this patch suppresses a compiler warning when KRB5_PLUGIN_DEBUG is not
> > set, which is the common case.
>
> Sumit,
> would it be possible to use an env variable to control debug instead of
> a compile time define ? That would solve it more neatly and also make it
> simple to activate debugging at will.
>
> Simo.
>
Thanks, very nice idea. I will set it automatically if the debug level
of the Kerberos provider is 5 or higher and anyone is free to set it
explicit when needed.
ok, I have only implemented the explicit way so far, because the
other way might interfere with to debug_to_files scheme.
A man page for the locator plugin will be in another patch I will sent
soon.
bye,
Sumit