Skip Menu |

Download (untitled) / with headers
text/plain 3.2KiB
From epeisach@MIT.EDU Thu Oct 17 10:12:09 1996
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id KAA11580 for <bugs@RT-11.MIT.EDU>; Thu, 17 Oct 1996 10:12:08 -0400
Received: from KANGAROO.MIT.EDU by MIT.EDU with SMTP
id AA28974; Thu, 17 Oct 96 10:12:07 EDT
Received: by; (5.65/
id AA06318; Thu, 17 Oct 1996 10:12:06 -0400
Message-Id: <>
Date: Thu, 17 Oct 1996 10:12:06 -0400
From: epeisach@MIT.EDU
Reply-To: epeisach@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: rpc tests fail on alpha
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 116
>Category: krb5-libs
>Synopsis: rpc tests fail on alpha
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: krb5-unassigned
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Oct e 10:13:01 EDT 1996
>Last-Modified: Thu Oct e 18:31:51 EDT 1996
>Originator: Ezra Peisach
Show quoted text
>Release: 1.0-development

System: OSF1 V3.2 214 alpha
Machine: alpha
Show quoted text
I was trying to run the rpc tests on the alpha and they failed.
It appears that the server program fails "unable to set gssapi names"
Tracking down into the code - the error is
GSS-API authentication error acquiring credentials: Miscellaneous failure
GSS-API authentication error acquiring credentials: No principal in keytab match

The problem stems from the fact that the keytab has:

but the code is looking for

Note - the casing problem.

I would guess that the procedure creating the keytab is doing
something funky. Acually, I just found it: on kangaroo returns KANGAROO.MIT.EDU
on dcl returns

We need to downcase this string!!!

Show quoted text
gmake check
Show quoted text
When I find my perl book I will remember how to downcase the

Show quoted text

From: "Barry Jaspan" <bjaspan@MIT.EDU>
To: epeisach@MIT.EDU
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-libs/116: rpc tests fail on alpha
Date: Thu, 17 Oct 1996 13:31:31 -0400

That's interesting. One would expect that and the gss-api
libraries are both using the same method to obtain the FQDN:
gethostbyname, followed by gethostbyaddr. Why is one returning an
upper-case result but the other returning a lower-case result? We
should find the answer, because if we don't it may bite again later.


From: Ezra Peisach <epeisach@MIT.EDU>
To: "Barry Jaspan" <bjaspan@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-libs/116: rpc tests fail on alpha
Date: Thu, 17 Oct 1996 16:24:23 EDT

Looking at the code in gssapi/generic/util_canonhost.c:
(which is the only use of gethostbyname in the gssapi code).
g_canonicalize_host(hostname) does a gethostbyname, gethostbyaddr, and
then lowercases the string. So, therefore, was not doing the
same as the gssapi code. (My problem now is determining who is the user
of g_cacnonicalize_host....)...


State-Changed-From-To: open-closed
State-Changed-By: epeisach
State-Changed-When: Thu Oct 17 18:31:05 1996
Fix checked into

Show quoted text