[OpenAFS-devel] "unable to authenticate to AFS" error- linux distribution, specific?

Douglas E. Engert deengert@anl.gov
Sun, 28 Nov 2004 15:17:40 -0600


Jim Rees wrote:

> I don't think we want to change rxgen.  I guess I'll have to hold my nose
> and look the other way while someone fixes all callers to pass all 16
> params.

I agree, fix only what is needed at this time. jasonmc@cert.org
reported that the folloing fixed his problem.

There are only three calls that need to be fixed.

--- ./kauth/,admin_tools.c	Wed Aug 25 02:03:39 2004
+++ ./kauth/admin_tools.c	Mon Nov 22 13:03:47 2004
@@ -514,6 +514,7 @@
  	code =
  	    ubik_CallIter(KAM_LockStatus, conn, UPUBIKONLY, &count, name,
  			  instance, &tempwhen, /*spares */ 0, 0, 0,
+			  0, 0, 0, 0, 0, 0, 0, 0,
  			  0);
  	if (code) {
  	    if (seriouserror(code))
--- ./kauth/,authclient.c	Wed Aug 25 02:09:38 2004
+++ ./kauth/authclient.c	Mon Nov 22 13:05:54 2004
@@ -476,7 +476,7 @@
  	    lcode = code;
  	    code =
  		ubik_CallIter(aproc, aclient, aflags, &count, p1, p2, p3, p4,
-			      p5, p6, p7, p8);
+			      p5, p6, p7, p8, 0, 0, 0, 0, 0, 0, 0);
  	} while ((code == UNOQUORUM) || (code == UNOTSYNC)
  		 || (code == KALOCKED) || (code == -1));

--- ./libadmin/kas/,afs_kasAdmin.c	Sun Dec  7 16:49:30 2003
+++ ./libadmin/kas/afs_kasAdmin.c	Mon Nov 22 13:08:38 2004
@@ -718,6 +718,7 @@
  	tst =
  	    ubik_CallIter(KAM_LockStatus, kaserver->servers, UPUBIKONLY,
  			  &count, who->principal, who->instance, &locked, 0,
+			  0, 0, 0, 0, 0, 0, 0, 0,
  			  0, 0, 0);
  	if (tst == 0) {
  	    if (locked) {
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
> 
> 
> 

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444