Skip Menu |
 

Download (untitled) / with headers
text/plain 1.7KiB
From bjaspan@MIT.EDU Thu Jan 23 14:10:59 1997
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id OAA08465 for <bugs@RT-11.MIT.EDU>; Thu, 23 Jan 1997 14:10:59 -0500
Received: from BEEBLEBROX.MIT.EDU by MIT.EDU with SMTP
id AA21394; Thu, 23 Jan 97 14:10:58 EST
Received: by beeblebrox.MIT.EDU (940816.SGI.8.6.9/4.7) id TAA00820; Thu, 23 Jan 1997 19:10:57 GMT
Message-Id: <199701231910.TAA00820@beeblebrox.MIT.EDU>
Date: Thu, 23 Jan 1997 19:10:57 GMT
From: bjaspan@MIT.EDU
Reply-To: bjaspan@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: kdb5_util doesn't know that init_ets is called in init_context
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 349
>Category: krb5-admin
>Synopsis: kdb5_util doesn't know that init_ets is called in init_context
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bjaspan
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Jan 23 14:11:01 EST 1997
>Last-Modified:
>Originator: Barry Jaspan
>Organization:
mit
Show quoted text
>Release: 1.0-development
>Environment:

System: IRIX beeblebrox 5.3 11091812 IP22 mips


Show quoted text
>Description:

kdb5_util.c contains the code:

retval = krb5_init_context(&util_context);
if (retval) {
fprintf(stderr, "krb5_init_context failed with error #%ld\n",
(long) retval);
exit(1);
}
krb5_init_ets(util_context);
initialize_adb_error_table();

This is a relic from when krb5_init_context() did not call
krb5_init_ets() and should be fixed. Note that kdb5_util *still*
needs to call initialize_adb_error_table(); that is usually called by
kadm5_init but, because kdb5_util is special, it needs that table
initialized before any kadm5 function is called.

Show quoted text
>How-To-Repeat:

Show quoted text
>Fix:

Show quoted text
>Audit-Trail:
>Unformatted: