http://lists.gnu.org/archive/html/help-cfengine/2004-12/msg00047.html
Kelly Brown wrote: > Ok, I figured out why I'm getting these errors. It's because I'm trying > to copy a file that doesn't exist. Not sure why that's an > authentication error but anyway... > > Here's the problem. I want to copy a crontab file to each server. Some > servers have special crontab files and some just get the generic. So > this is what I'm doing... > ###################################################################### > > control: > > singlecopy = ( on ) #their's other stuff too just putting the > 'important stuff' > > copy: > $(masterfiles)/crontab/crontab.$(host) dest=/etc/crontab > mode=0644 > owner=root > type=binary > inform=false > server=$(policyhost) > > $(masterfiles)/crontab/crontab.generic dest=/etc/crontab > mode=0644 > owner=root > type=binary > inform=false > server=$(policyhost) > ################################################################### > > It does what I want. It copies the crontab.hostname if it exists and if > it doesn't it grabs the crontab.generic. Is there some way for it to > not get the auth errors? Perhaps something better than what I'm doing here? > > Thx > -K > > Mark Burgess wrote: > > >Hi Kelly. > > > >Rund cfservd / cfagent with -d2 to see the detailed reason for the > >rejection. > > > >M > > > >On Fri, 2005-04-22 at 09:58 -0700, Kelly Brown wrote: > > > > > >>Hello all: > >> > >>I'm getting some authentication errors every time a client contacts > >>cfservd. However, everything works ok. I would like to make the errors > >>go away if they don't mean anything. It may be related to the fact that > >>I have 3 different domains. Any ideas? > >> > >>Apr 22 09:53:09 cfserver cfservd[17097]: lstat > >>Apr 22 09:53:09 cfserver cfservd[17097]: Host > >>authorization/authentication failed or access denied > >>Apr 22 09:53:09 cfserver cfservd[17097]: From > >>(host=cfclient.colo.mydomain.com,user=root,ip=::ffff:10.9.1.158) > >> > >> > >> > >>_______________________________________________ > >>Help-cfengine mailing list > >>Help-cfengine@gnu.org > >>http://lists.gnu.org/mailman/listinfo/help-cfengine > >> > >> > > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine > _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine