[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kerberos telnet?

From: Simon Josefsson
Subject: Re: kerberos telnet?
Date: Mon, 23 Sep 2002 12:48:33 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

Sergey Poznyakoff <address@hidden> writes:

>> I am running from inetutils CVS with Heimdal header files, but there
>> seem to be some name space collision:
> I see. Indeed, Heimdal declares its own Authenticator type. To
> avoid the clash, change to the inetutils libtelnet directory,
> run the following script and then recompile:
> #! /bin/sh
> for name in `grep -l Authenticator *.[ch]`
> do
>       mv $name ${name}~
>       sed 's/Authenticator/TN_Authenticator/g' ${name}~ > $name
> done

Thanks, a small step further, however:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include     -g -O2 -c `test -f 
'kerberos5.c' || echo './'`kerberos5.c
kerberos5.c: In function `encryption_init':
kerberos5.c:160: structure has no member named `enctype'
kerberos5.c:168: structure has no member named `keyblock'
kerberos5.c:172: structure has no member named `keyblock'

Looking at the code:

encryption_init (krb5_creds *creds)
  krb5_keyblock *newkey = 0;
  if (newkey)
      switch (newkey->enctype)
        case ENCTYPE_DES_CBC_CRC:

and in /usr/include/krb5.h reveals krb5_keyblock looks like this in

typedef struct EncryptionKey {
  int keytype;
  octet_string keyvalue;
} EncryptionKey;

I will try to compile inetutils with MIT Kerberos instead, for my
purpose it will probably work equally well and will perhaps be easier
to get to work.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]