[SSSD] [PATCH] declare hostip only in debug mode

Sumit Bose sbose at redhat.com
Thu Sep 24 13:21:49 UTC 2009


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.

bye,
Sumit



More information about the sssd-devel mailing list