I've been using gexec since a while and ganglia is one of the project
that use it.

I've found a bug in authd when you are using an openssl >= 0.9.7. In
that case gexec is no more usable ("could not connect to nodex).

The author of authd/gexec doesn't seems to be really here so I also send
my patch here in order to help people that uses gexec :)

So patch your authd, then rebuild gexec & pcp. It works. :)
This patch is included in the authd-0.2.1-16mdk rpm (mandrake cooker).

################
--- auth.c.old  2004-06-10 15:02:49.774708541 +0200
+++ auth.c      2004-06-10 15:03:09.313522078 +0200
@@ -79,7 +79,7 @@
         goto cleanup;
     }
     ERR_load_crypto_strings();
-    if (RSA_verify(0, (unsigned char *)creds, sizeof(credentials), 
+    if (RSA_verify(NID_md5, (unsigned char *)creds,
sizeof(credentials), 
                    creds_sig->data, AUTH_RSA_SIGLEN, pub_key) == 0) {
         error = AUTH_RSA_ERROR;
         goto cleanup;
--- authd.c.old 2004-06-10 15:02:56.911005673 +0200
+++ authd.c     2004-06-10 15:03:20.091970867 +0200
@@ -73,7 +73,7 @@
         error = AUTH_RSA_ERROR;
         goto cleanup;
     }
-    if (RSA_sign(0, (unsigned char *)cred, sizeof(credentials), 
+    if (RSA_sign(NID_md5, (unsigned char *)cred, sizeof(credentials), 
                  cred_sig->data, &sig_len, priv_key) == 0) {
         error = AUTH_RSA_ERROR;
         goto cleanup;

-- 
Erwan Velu
Linux Cluster Distribution Project Manager
Mandrakesoft
43 rue d'aboukir 75002 Paris
Phone Number : +33 (0) 1 40 41 17 94
Fax Number   : +33 (0) 1 40 41 92 00
Web site     : http://www.mandrakesoft.com
OpenPGP key  : http://www.mandrakesecure.net/cks/ 


Reply via email to