[2305] in Kerberos-V5-bugs
krb5-libs/69: profile handling code doesn't note parser failures
daemon@ATHENA.MIT.EDU (John Hawkinson)
Sun Oct 6 02:46:06 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, John Hawkinson <jhawk@bbnplanet.com>
Date: Sun, 6 Oct 1996 02:45:31 -0400
From: John Hawkinson <jhawk@bbnplanet.com>
To: krb5-bugs@MIT.EDU
>Number: 69
>Category: krb5-libs
>Synopsis: profile handling code doesn't note parser failures
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sun Oct e 02:46:00 EDT 1996
>Last-Modified:
>Originator: John Hawkinson
>Organization:
BBN Planet
>Release: 1.0-development
>Environment:
System: NetBSD lola-granola 1.1B NetBSD 1.1B (LOLA) #2: Thu Jul 11 00:13:13 EDT 1996 mycroft@zygorthian-space-raiders:/afs/sipb.mit.edu/project/netbsd/dev/current-source/build/i386_nbsd1/sys/arch/i386/compile/LOLA i386
Bug is also present in beta-7.
>Description:
krb524init (for instance -- presumably this is merely one of a class
of problems) does not give sane information in the case of an
invalid /etc/krb5.conf.
>How-To-Repeat:
Attempt to comment out lines of krb5.conf using an invalid comment character.
Eg, starting with:
---cut
[libdefaults]
# ticket_lifetime = 600
default_realm = BBNPLANET.NET
---cut
run krb524init:
[all-purpose-gunk!jhawk] /usr/kerberos/lib> krb524init
k524init: No profile file open converting to V4 credentials
>Fix:
Workaround: uncommment the lines.
Change-request: implement (or document implementation thereof) a comment
character.
Real-fix: provide sane error messages from programs that read the profile
file.
>Audit-Trail:
>Unformatted: