[OpenAFS] asetkey complains about keylength.
Douglas E. Engert
Wed, 01 Sep 2010 09:24:25 -0500
On 9/1/2010 3:36 AM, Mans Nilsson wrote:
> Subject: Re: [OpenAFS] asetkey complains about keylength. Date: Tue, Aug 31, 2010 at 04:58:22PM -0500 Quoting Douglas E. Engert (email@example.com):
>> On 8/31/2010 3:59 PM, Mans Nilsson wrote:
>>> I'm setting up a new cell on Solaris, using self-built 126.96.36.199. My kdc
>>> is Heimdal. When trying to create a KeyFile from the ktutil-gotten
>>> file, asetkey complains that
>>> Key length should be 8, but is really 1
>>> Any clues? Am I supplying too little info? What is necessary to supply?
>>> asetkey and aklog were built after manually adding
>>> -I/usr/heimdal/include and -lkrb5 to compilation invocations, since the
>>> usual tricks did not work.
>> Did you get the Heimdal libkrb5.so? There is also one in /usr/lib
> Nopes, not on the build system:
> # ldd asetkey | grep krb5
> libkrb5.so.1 => /usr/lib/libkrb5.so.1
> mech_krb5.so.1 => /usr/lib/gss/mech_krb5.so.1
> Hmmm. Thanks.
As a side note, I have been building the sun4x_510, and sunx86_510
distributions for OpenAFS for years with the Solaris 10 Kerberos:
export KRB5LIBS="/usr/lib/gss/mech_krb5.so -R/usr/lib/gss"
./configure --enable-transarc-paths --with-krb5=yes \
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439