Derrick Brashear a écrit :
On Sun, Jun 8, 2008 at 3:07 PM, Thom <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

I installed an openafs server on Netbsd amd64 (1.4.5),

1.4.7 is current.
    then I installed the openafs-client on an old ubuntu (1.4.x), all
    work fine. Now I try to use the openafs for windows 1.5.36.
<http://1.5.36.>

1.5.39 is current.
I am not sure changing version every day will help me to correct this authentication problem.... I spent time to integrate 1.4.5 on netbsd current AMD64 I don't want to spend much with 1.4.7 if it doesn't correct my problem in changelog.
1.5.36 was last one when I send the mail...


I join 2 very very important patches for 64bits.
The aj correct this bug
https://lists.openafs.org/pipermail/openafs-info/2008-February/028534.html

The second I don't test it but seems important two.
I still have lots of incompatible size pointers, I can send you the full log and other minor patches if you want to spend time on it.

- Thomas G




$NetBSD$

--- src/ptserver/map.c.orig     2007-08-12 01:50:02.000000000 +0200
+++ src/ptserver/map.c
@@ -52,10 +52,10 @@ struct bitmap {
     int m_data[MDATA];
 };
 
-#define MAP(p) ((struct bitmap*)((int)(p)&~1))
-#define NEGMAP(p)      (((int)(p))&1)
+#define MAP(p) ((struct bitmap*)((intptr_t)(p)&~1))
+#define NEGMAP(p)      (((intptr_t)(p))&1)
 #define POSMAP(p)      (!NEGMAP(p))
-#define NOT_MAP(mp)    ((struct map *) (((int)(mp)) ^ 1))
+#define NOT_MAP(mp)    ((struct map *) (((intptr_t)(mp)) ^ 1))
 
 #define NUMBERTOBIT(n) ((n) & ((1<<LSHIFT)-1))
 #define NUMBERTOINDEX(n)       ((n>>LSHIFT) & ((1<<MSHIFT)-1))
$NetBSD$

--- src/ubik/ubik.c.orig        2006-06-12 23:53:44.000000000 +0200
+++ src/ubik/ubik.c
@@ -270,7 +270,7 @@ ubik_ServerInitCommon(afs_int32 myHost, 
      * the "steplock" problem in ubik initialization. Defect 11037.
      */
     LWP_CreateProcess(rx_ServerProc, rx_stackSize, RX_PROCESS_PRIORITY,
-                     (void *)0, "rx_ServerProc", &junk);
+                     NULL, "rx_ServerProc", &junk);
 
     /* do basic initialization */
     code = uvote_Init();

Reply via email to