[OpenAFS] oafw don't work with auth users

Thom thom@net2hardware.com
Thu, 26 Jun 2008 23:34:45 +0200


This is a multi-part message in MIME format.
--------------090201060802020707030607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Derrick Brashear a =E9crit :
> On Sun, Jun 8, 2008 at 3:07 PM, Thom <thomas.galliano@gmail.com=20
> <mailto:thomas.galliano@gmail.com>> wrote:
>
>     Hi all,
>
>     I installed an openafs server on Netbsd amd64 (1.4.5),=20
>
>
> 1.4.7 is current.
> =20
>
>     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.>=20
>
>
> 1.5.39 is current.=20
I am not sure changing version every day will help me to correct this=20
authentication problem....
I spent time to integrate 1.4.5 on netbsd current AMD64 I don't want to=20
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.htm=
l

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=20
log and other minor patches if you want to spend time on it.

- Thomas G





--------------090201060802020707030607
Content-Type: text/plain;
 name="patch-aj"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-aj"

$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))

--------------090201060802020707030607
Content-Type: text/plain;
 name="patch-am"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-am"

$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();

--------------090201060802020707030607--