From lio@hpss1.ccs.ornl.gov Mon May 17 10:56:32 1999
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id KAA05825 for <bugs@RT-11.MIT.EDU>; Mon, 17 May 1999 10:56:26 -0400
Received: from hpss1.ccs.ornl.gov by MIT.EDU with SMTP
id AA08585; Mon, 17 May 99 10:55:55 EDT
Received: (from lio@localhost)
by hpss1.ccs.ornl.gov (8.9.1/8.9.1) id KAA13322;
Mon, 17 May 1999 10:55:54 -0400
Message-Id: <199905171455.KAA13322@hpss1.ccs.ornl.gov>
Date: Mon, 17 May 1999 10:55:54 -0400
From: Dan Million <lio@hpss1.ccs.ornl.gov>
Reply-To: lio@hpss1.ccs.ornl.gov
To: krb5-bugs@MIT.EDU
Subject: kinit fails
X-Send-Pr-Version: 3.99
AIX 4.2.1
IBM xlC compiler
comfigure command: configure --prefix=/krb5 --with-cc=cc \
--with-ccopts=-O --without-krb4 --enable-shared
System: AIX hpss1 3 4 000041156600
was found that kinit does not work. It gives the error message:
ASN.1 structure is missing a required field
No credentials are created. Basically, we can't get started with the
1.0.6 release because of this.
Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Jul 1 19:37:13 1999
Responsible-Changed-Why:
Mine now
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Thu Jul 1 19:37:46 1999
State-Changed-Why:
similar to krb5-libs/731
From: Tom Yu <tlyu@MIT.EDU>
To: lio@hpss1.ccs.ornl.gov
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-libs/715: kinit fails
Date: Thu, 1 Jul 1999 19:39:49 -0400 (EDT)
Does your KDC happen to be a DCE Kerberos KDC? If so, that might
explain some of this, as we've seen it from another site. I'd be
interested to know what version of DCE you are runing on that KDC if
that is the case. Meanwhile, try applying the following patch; it
should temporarily work around the problem.
---Tom
Index: asn1buf.c
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/krb5/asn.1/asn1buf.c,v
retrieving revision 5.15
retrieving revision 5.16
diff -u -r5.15 -r5.16
--- asn1buf.c 1998/10/30 02:54:57 5.15
+++ asn1buf.c 1999/07/01 00:38:28 5.16
@@ -93,7 +93,15 @@
asn1buf * buf;
asn1buf * subbuf;
{
- buf->next = subbuf->bound + 1;
+ if (subbuf->bound != buf->bound) {
+ buf->next = subbuf->bound + 1;
+ } else {
+ /*
+ * indefinite length; this will suck
+ * XXX - need to skip fields somehow
+ */
+ buf->next = subbuf->next;
+ }
}
asn1_error_code asn1buf_destroy(buf)
From: Dan Million <lio@hpss1.ccs.ornl.gov>
To: Tom Yu <tlyu@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-libs/715: kinit fails
Date: Fri, 2 Jul 1999 09:44:31 -0400 (EDT)
On Thu, 1 Jul 1999, Tom Yu wrote:
Yes, we are using the DCE registry as our Kerberos KDC. We are using
IBM DCE 2.1 for AIX.
We did not have this problem with the K5 1.0.5 release.
From: Dan Million <lio@hpss1.ccs.ornl.gov>
To: Tom Yu <tlyu@MIT.EDU>
Cc: Subject: Re: krb5-libs/715: kinit fails
Date: Fri, 2 Jul 1999 11:15:18 -0400 (EDT)
On Thu, 1 Jul 1999, Tom Yu wrote:
I tried the patch, and it works! Thanks.
Dan Million
State-Changed-From-To: analyzed-closed
State-Changed-By: tlyu
State-Changed-When: Mon Jul 26 17:49:04 1999
State-Changed-Why:
patch applied
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id KAA05825 for <bugs@RT-11.MIT.EDU>; Mon, 17 May 1999 10:56:26 -0400
Received: from hpss1.ccs.ornl.gov by MIT.EDU with SMTP
id AA08585; Mon, 17 May 99 10:55:55 EDT
Received: (from lio@localhost)
by hpss1.ccs.ornl.gov (8.9.1/8.9.1) id KAA13322;
Mon, 17 May 1999 10:55:54 -0400
Message-Id: <199905171455.KAA13322@hpss1.ccs.ornl.gov>
Date: Mon, 17 May 1999 10:55:54 -0400
From: Dan Million <lio@hpss1.ccs.ornl.gov>
Reply-To: lio@hpss1.ccs.ornl.gov
To: krb5-bugs@MIT.EDU
Subject: kinit fails
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 715
>Category: krb5-libs
>Synopsis: kinit fails
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon May 17 10:57:01 EDT 1999
>Last-Modified: Mon Jul 26 17:49:36 EDT 1999
>Originator: Dan Million
>Organization:
Oak Ridge National Laboratory>Category: krb5-libs
>Synopsis: kinit fails
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon May 17 10:57:01 EDT 1999
>Last-Modified: Mon Jul 26 17:49:36 EDT 1999
>Originator: Dan Million
>Organization:
Show quoted text
>Release: krb5-1.0.6
>Environment:
IBM RS/6000 model 580>Environment:
AIX 4.2.1
IBM xlC compiler
comfigure command: configure --prefix=/krb5 --with-cc=cc \
--with-ccopts=-O --without-krb4 --enable-shared
System: AIX hpss1 3 4 000041156600
Show quoted text
>Description:
KRB5 R1.0.6 was built on an AIX 4.2.1. system. After installing, itwas found that kinit does not work. It gives the error message:
ASN.1 structure is missing a required field
No credentials are created. Basically, we can't get started with the
1.0.6 release because of this.
Show quoted text
>How-To-Repeat:
Run kinit.Show quoted text
>Fix:
None.Show quoted text
>Audit-Trail:
Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Jul 1 19:37:13 1999
Responsible-Changed-Why:
Mine now
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Thu Jul 1 19:37:46 1999
State-Changed-Why:
similar to krb5-libs/731
From: Tom Yu <tlyu@MIT.EDU>
To: lio@hpss1.ccs.ornl.gov
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-libs/715: kinit fails
Date: Thu, 1 Jul 1999 19:39:49 -0400 (EDT)
Does your KDC happen to be a DCE Kerberos KDC? If so, that might
explain some of this, as we've seen it from another site. I'd be
interested to know what version of DCE you are runing on that KDC if
that is the case. Meanwhile, try applying the following patch; it
should temporarily work around the problem.
---Tom
Index: asn1buf.c
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/krb5/asn.1/asn1buf.c,v
retrieving revision 5.15
retrieving revision 5.16
diff -u -r5.15 -r5.16
--- asn1buf.c 1998/10/30 02:54:57 5.15
+++ asn1buf.c 1999/07/01 00:38:28 5.16
@@ -93,7 +93,15 @@
asn1buf * buf;
asn1buf * subbuf;
{
- buf->next = subbuf->bound + 1;
+ if (subbuf->bound != buf->bound) {
+ buf->next = subbuf->bound + 1;
+ } else {
+ /*
+ * indefinite length; this will suck
+ * XXX - need to skip fields somehow
+ */
+ buf->next = subbuf->next;
+ }
}
asn1_error_code asn1buf_destroy(buf)
From: Dan Million <lio@hpss1.ccs.ornl.gov>
To: Tom Yu <tlyu@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-libs/715: kinit fails
Date: Fri, 2 Jul 1999 09:44:31 -0400 (EDT)
On Thu, 1 Jul 1999, Tom Yu wrote:
Show quoted text
> Does your KDC happen to be a DCE Kerberos KDC? If so, that might
> explain some of this, as we've seen it from another site. I'd be
> interested to know what version of DCE you are runing on that KDC if
> that is the case. Meanwhile, try applying the following patch; it
> should temporarily work around the problem.
> explain some of this, as we've seen it from another site. I'd be
> interested to know what version of DCE you are runing on that KDC if
> that is the case. Meanwhile, try applying the following patch; it
> should temporarily work around the problem.
Yes, we are using the DCE registry as our Kerberos KDC. We are using
IBM DCE 2.1 for AIX.
We did not have this problem with the K5 1.0.5 release.
Show quoted text
>
> ---Tom
>
> Index: asn1buf.c
> ===================================================================
> RCS file: /cvs/krbdev/krb5/src/lib/krb5/asn.1/asn1buf.c,v
> retrieving revision 5.15
> retrieving revision 5.16
> diff -u -r5.15 -r5.16
> --- asn1buf.c 1998/10/30 02:54:57 5.15
> +++ asn1buf.c 1999/07/01 00:38:28 5.16
> @@ -93,7 +93,15 @@
> asn1buf * buf;
> asn1buf * subbuf;
> {
> - buf->next = subbuf->bound + 1;
> + if (subbuf->bound != buf->bound) {
> + buf->next = subbuf->bound + 1;
> + } else {
> + /*
> + * indefinite length; this will suck
> + * XXX - need to skip fields somehow
> + */
> + buf->next = subbuf->next;
> + }
> }
>
> asn1_error_code asn1buf_destroy(buf)
>
> ---Tom
>
> Index: asn1buf.c
> ===================================================================
> RCS file: /cvs/krbdev/krb5/src/lib/krb5/asn.1/asn1buf.c,v
> retrieving revision 5.15
> retrieving revision 5.16
> diff -u -r5.15 -r5.16
> --- asn1buf.c 1998/10/30 02:54:57 5.15
> +++ asn1buf.c 1999/07/01 00:38:28 5.16
> @@ -93,7 +93,15 @@
> asn1buf * buf;
> asn1buf * subbuf;
> {
> - buf->next = subbuf->bound + 1;
> + if (subbuf->bound != buf->bound) {
> + buf->next = subbuf->bound + 1;
> + } else {
> + /*
> + * indefinite length; this will suck
> + * XXX - need to skip fields somehow
> + */
> + buf->next = subbuf->next;
> + }
> }
>
> asn1_error_code asn1buf_destroy(buf)
>
From: Dan Million <lio@hpss1.ccs.ornl.gov>
To: Tom Yu <tlyu@MIT.EDU>
Cc: Subject: Re: krb5-libs/715: kinit fails
Date: Fri, 2 Jul 1999 11:15:18 -0400 (EDT)
On Thu, 1 Jul 1999, Tom Yu wrote:
Show quoted text
> Does your KDC happen to be a DCE Kerberos KDC? If so, that might
> explain some of this, as we've seen it from another site. I'd be
> interested to know what version of DCE you are runing on that KDC if
> that is the case. Meanwhile, try applying the following patch; it
> should temporarily work around the problem.
>
> ---Tom
> explain some of this, as we've seen it from another site. I'd be
> interested to know what version of DCE you are runing on that KDC if
> that is the case. Meanwhile, try applying the following patch; it
> should temporarily work around the problem.
>
> ---Tom
I tried the patch, and it works! Thanks.
Dan Million
State-Changed-From-To: analyzed-closed
State-Changed-By: tlyu
State-Changed-When: Mon Jul 26 17:49:04 1999
State-Changed-Why:
patch applied
Show quoted text
>Unformatted: