[5938] in Kerberos

home help back first fref pref prev next nref lref last post

problems building the krb524 daemon in krb5b5

daemon@ATHENA.MIT.EDU (Tad Hunt )
Thu Sep 28 01:11:05 1995

To: kerberos@MIT.EDU
Date: 28 Sep 1995  4: 2:30 GMT
From: tad@csh.rit.edu (Tad Hunt )

I thought I emailed this query to the mailing list, but I never got
a response, and I got a whole ton of bounces, so I'm trying a post..
If this is a duplicate for you, Ignore it.

-Tad

-------------------------------------------------------------------------------

Hello, and sorry if this is a newbie question...

I'm trying to build the krb524 daemon in the beta 5 distribution,
[ uname: OSF1 burn V3.2 214 alpha ] and I am stuck with the following
errors [see attached make(1) output].

Basically, it looks like the problem is that a bunch of the macros used in
krb524d.c (specifically krb5_finish_key(), krb5_process_key(),
krb5_kt_get_entry(), and KDB_CONVERT_KEY_OUTOF_DB() ) all expect more
arguments than they are given.  Looking in ../include/krb5.h, it appears
as though they are all looking for a 'context'.  In addition,
krb5_kt_get_entry() is looking for 6 arguments, and the addition of the
context argument will only give it 5 arguments.

    So, my two questions are:
	1. What is this 'context' thing, and where do I get one?
	2. What other argument in addition to the context does
	   krb5_kt_get_entry() need?

Thanks,

Tad Hunt

-------------------------------------------------------------------------------

% make
cc -c -g -DUSE_MASTER -I. -I/usr/local/include -I../include  -I../include/krb5 -I../include/kerberosIV -I/devel/accts/tjhtch/kerb/src/include krb524d.c
/usr/lib/cmplrs/cc/cfe: Warning: krb524d.c: 166: The number of arguments in macro invocation does not match definition
/usr/lib/cmplrs/cc/cfe: Warning: krb524d.c: 224: The number of arguments in macro invocation does not match definition
/usr/lib/cmplrs/cc/cfe: Warning: krb524d.c: 319: The number of arguments in macro invocation does not match definition
/usr/lib/cmplrs/cc/cfe: Warning: krb524d.c: 357: The number of arguments in macro invocation does not match definition
/usr/lib/cmplrs/cc/cfe: Error: krb524d.c, line 166: Syntax Error
 	  (*()->crypto_entry->finish_key)();
 	-----^
/usr/lib/cmplrs/cc/cfe: Error: krb524d.c, line 166: Syntax Error
 	  (*()->crypto_entry->finish_key)();
 	--------------------------------^
/usr/lib/cmplrs/cc/cfe: Error: krb524d.c, line 224: Syntax Error
      if (ret = (*( &master_keyblock)->crypto_entry->process_key)( &master_keyblock, )) {
 ------------------------------------------------------------------------------------^
/usr/lib/cmplrs/cc/cfe: Error: krb524d.c, line 319: Syntax Error
 	  if (ret = (*( p)->ops->get)(kt,  p,  0,  &entry, , ))
 	---------------------------------------------------^
/usr/lib/cmplrs/cc/cfe: Error: krb524d.c, line 357: Syntax Error
      ret = krb5_kdb_decrypt_key(&server.key,&master_encblock,  key, );
 --------------------------------------------------------------------^
*** Exit 1
Stop.
%


home help back first fref pref prev next nref lref last post