help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DynamicAddresses not working?


From: Mark Burgess
Subject: Re: DynamicAddresses not working?
Date: Sat, 24 Dec 2005 13:58:00 +0100

Having considered this, I think  that this is in fact the correct
solution. thanks.

M

On Wed, 2005-12-14 at 22:24 +0100, Jakub Turski wrote:
>  ._         The little penguin sat on the shore,
> _@__        watching Eric Sorenson write the letter
>     ~~~~~   on the memorable day of 2005/12/14 21:24
> 
> > > iF YOU LOOK IN cfservd.c line 3221 you'll see hoiw it works.  I am not
> > > sure why this is not working for you. I hope to provide an alternative
> > Based on IRC conversations, he's using cfrun, which doesn't use the 
> > 'dynamic' database mechanism, it only looks at files.
> 
>  Exactly. Right now, I've applied the apatch which you can see below, and it
>  works fine. Of course such crude patch won't make it to the upstream, one
>  would rather need to teach cfrun all about dynamic database...
> 
> 
> --- src.old/cfservd.c 2005-05-25 15:58:03.000000000 +0200
> +++ src/cfservd.c     2005-12-09 13:09:27.491926000 +0100
> @@ -3180,6 +3180,7 @@
>     if (trust)
>        {
>        Debug("Policy says to trust the changed key from %s and note that it 
> could vary in future\n",mipaddr);
> +      DeletePublicKey(keyname);
>        memset(&key,0,sizeof(key));       
>        memset(&value,0,sizeof(value));
> 
> 
> Regards,
> 
> KT.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]