Package: cfengine2 Version: 2.1.20-1 Severity: normal Tags: patch Hello,
when using HostnameKeys = ( on ) SkipIdentify = ( true ) on client side, authentification will fail because of an internal bug in proto.c ("localip" keeps unset). The problem is fixed upstream: http://svn.iu.hio.no/viewvc/trunk/src/proto.c?root=Cfengine-2&r1=254&r2=271&pathrev=271 Applying this patch will fix the problem. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (900, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.35.1 Locale: LANG=de_DE.UTF-8, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages cfengine2 depends on: ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii debianutils 2.17 Miscellaneous utilities specific t ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries ii libdb4.2 4.2.52+dfsg-2 Berkeley v4.2 Database Libraries [ ii libssl0.9.8 0.9.8c-4etch1 SSL shared libraries ii perl 5.8.8-7etch1 Larry Wall's Practical Extraction cfengine2 recommends no packages. -- debconf information excluded
diff -Naur cfengine-2.1.20_ORIG/src/proto.c cfengine-2.1.20/src/proto.c --- cfengine-2.1.20_ORIG/src/proto.c 2006-03-18 12:18:49.000000000 +0100 +++ cfengine-2.1.20/src/proto.c 2007-11-13 15:43:10.000000000 +0100 @@ -146,6 +146,8 @@ } else { + strcpy(localip,VIPADDRESS); + if (strlen(VFQNAME) > 0) { Verbose("SkipIdent was requested, so we are trusting and annoucning the identity as (%s) for this host\n",VFQNAME);