help-cfengine
[Top][All Lists]
Advanced

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

Re: DynamicAddresses not working?


From: Jakub Turski
Subject: Re: DynamicAddresses not working?
Date: Wed, 14 Dec 2005 22:24:04 +0100
User-agent: Mutt/1.5.11

 ._         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.
-- 
   __    __.---------------------------------------------------------------.__
  (oo)  |                 Zycie zacina siÄ™ po czterdziestce                   |
 / \/ \ |                                                                     |
 `V__V' `--.__penguin_#128720______________________________________________.--'




reply via email to

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