[OpenAFS] fakeka and krb425

ted creedon tcreedon@easystreet.com
Wed, 4 May 2005 09:37:32 -0700

 Write up what you have, preferably in Latex and standby.


-----Original Message-----
From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org]
On Behalf Of Michael Norwick
Sent: Wednesday, May 04, 2005 9:32 AM
To: OpenAFS-Info
Subject: Re: [OpenAFS] fakeka and krb425

Russ Allbery wrote:

>Michael Norwick <ctx37888@centurytel.net> writes:
>>I took out afs2k5db.c from the Makefile  because I really just want 
>>asetkey and aklog. I get this when compiling:
>>[michael@blacky src]# make
>>gcc -g -O2 -I/usr/include -I/usr/include -DPACKAGE_NAME=\"afs-krb5\"
>>-DPACKAGE_STRING=\"afs-krb5\ 1.4\"
>>-DPACKAGE_BUGREPORT=\"kenh@cmf.nrl.navy.mil\" -DAFS=1 -DAFS_INT32=1
>>-DRETSIGTYPE=void  -DALLOW_REGISTER   -c -o asetkey.o asetkey.c
>>asetkey.c: In function `main':
>>asetkey.c:80: error: too few arguments to function `afsconf_AddKey'
>>make: *** [asetkey.o] Error 1
>You need this patch:
>--- src/asetkey.c      2000-11-07 07:52:57.000000000 -0800
>+++ src/asetkey.c        2005-05-01 10:50:41.000000000 -0700
>@@ -77,7 +77,7 @@
>                exit(1);
>        }
>-       code = afsconf_AddKey(tdir, kvno, key->contents);
>+       code = afsconf_AddKey(tdir, kvno, key->contents, 1);
>        if (code) {
>            printf("setkey: failed to set key, code %d.\n", code);
>            exit(1);
>to get the migration toolkit to work with OpenAFS 1.3.
In a flurry of googling I found someone's directory at athena that appeared
to have a krb5-1.3.x compatible archive of the afs-krb5 migration kit.  I
used the same configuration options I gave to krb5-1.4.1 and built asetkey,
aklog, and ka-forwarder without error.  Thank You for your help.


PS: as someone pointed out recently, the documentation is severely lacking.
How can I help?

OpenAFS-info mailing list