Skip Menu |
 

Download (untitled) / with headers
text/plain 1.3KiB
From danw@MIT.EDU Fri Jul 31 17:26:12 1998
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 RAA07399 for <bugs@RT-11.MIT.EDU>; Fri, 31 Jul 1998 17:26:11 -0400
Received: from ANTHARIA.MIT.EDU by MIT.EDU with SMTP
id AA09188; Fri, 31 Jul 98 17:26:00 EDT
Received: by antharia.mit.edu (950413.SGI.8.6.12/4.7) id RAA18187; Fri, 31 Jul 1998 17:26:10 -0400
Message-Id: <199807312126.RAA18187@antharia.mit.edu>
Date: Fri, 31 Jul 1998 17:26:10 -0400
From: danw@MIT.EDU
Reply-To: danw@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: kadm5 includes are not installed
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 617
>Category: krb5-admin
>Synopsis: kadm5 includes are not installed
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bjaspan
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Jul 31 17:27:01 EDT 1998
>Last-Modified:
>Originator: Dan Winship
>Organization:
Athena
Show quoted text
>Release: 1.0
>Environment:

System: IRIX antharia 6.3 12161207 IP32


Show quoted text
>Description:
krb5 installs the kadm5 libraries, but not the includes. This
makes the libraries less useful.
Show quoted text
>How-To-Repeat:
>Fix:
It's not as easy as it should be, since kadm5/admin.h currently
#includes k5-int.h. So you need to restructure some things a
bit.
Show quoted text
>Audit-Trail:
>Unformatted:
Download (untitled) / with headers
text/plain 5.8KiB
From danw@MIT.EDU Tue Oct 27 17:11:54 1998
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 RAA04751 for <bugs@RT-11.MIT.EDU>; Tue, 27 Oct 1998 17:11:54 -0500
Received: from ANTHARIA.MIT.EDU by MIT.EDU with SMTP
id AA00103; Tue, 27 Oct 98 17:11:48 EST
Received: by antharia.mit.edu (950413.SGI.8.6.12/4.7) id RAA05085; Tue, 27 Oct 1998 17:11:52 -0500
Message-Id: <199810272211.RAA05085@antharia.mit.edu>
Date: Tue, 27 Oct 1998 17:11:52 -0500
From: danw@MIT.EDU
Reply-To: danw@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: kadmin headers are not installed
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 651
>Category: krb5-admin
>Synopsis: kadmin headers are not installed
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bjaspan
>State: open
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Tue Oct 27 17:12:01 EST 1998
>Last-Modified:
>Originator: Dan Winship
>Organization:
MIT
Show quoted text
>Release: 1.0
>Environment:

System: IRIX antharia 6.3 12161207 IP32


Show quoted text
>Description:
The kadmin headers are not installed. This is bad because people
might want to write custom kadmin clients.

For example, instead of creating every new kerberos principal
by hand in kadmin, a large site might want to have a
"registration server" that users interact with to cause a new
Kerberos principal be created for them. Presumably the authors
of such a program would expect to be able to compile it without
needing to have a krb5 build tree handy to suck include files
out of. Or at least, one imagines they would expect this. :-)

Show quoted text
>How-To-Repeat:

Show quoted text
>Fix:
This isn't tested. You also might want to do something different
in kadm5/admin.h where I had to change some things to remove
the k5-int.h include.

Index: config/pre.in
===================================================================
RCS file: /cvs/krbdev/krb5/src/config/pre.in,v
retrieving revision 1.50
diff -c -r1.50 pre.in
*** pre.in 1998/04/15 22:09:19 1.50
--- pre.in 1998/10/27 21:47:36
***************
*** 112,117 ****
--- 112,119 ----
KRB5_INCSUBDIRS = \
$(KRB5_INCDIR)/asn.1 \
$(KRB5_INCDIR)/gssapi \
+ $(KRB5_INCDIR)/gssrpc \
+ $(KRB5_INCDIR)/kadm5 \
$(KRB5_INCDIR)/kerberosIV

#
Index: lib/kadm5/Makefile.in
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/kadm5/Makefile.in,v
retrieving revision 1.11
diff -c -r1.11 Makefile.in
*** Makefile.in 1998/04/06 23:44:44 1.11
--- Makefile.in 1998/10/27 21:47:53
***************
*** 67,72 ****
--- 67,74 ----
SRC_HDRS = adb.h admin.h admin_internal.h admin_xdr.h kadm_rpc.h \
server_internal.h

+ INST_HDRS = admin.h kadm_err.h adb_err.h chpass_util_strings.h
+
includes:: $(SRC_HDRS) $(BUILD_HDRS)
if [ -d $(HDRDIR) ]; then :; else mkdir -p $(HDRDIR); fi
for i in $(SRC_HDRS) ; do \
***************
*** 98,100 ****
--- 100,107 ----

clean-mac::
clean-windows::
+
+ install::
+ @set -x; for f in $(INST_HDRS) ; \
+ do $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/kadm5/$$f ; \
+ done
Index: lib/kadm5/admin.h
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/kadm5/admin.h,v
retrieving revision 1.40
diff -c -r1.40 admin.h
*** admin.h 1998/02/14 02:34:09 1.40
--- admin.h 1998/10/27 21:47:53
***************
*** 14,20 ****
#include <sys/types.h>
#include <gssrpc/rpc.h>
#include <krb5.h>
- #include <k5-int.h>
#include <com_err.h>
#include <kadm5/kadm_err.h>
#include <kadm5/adb_err.h>
--- 14,19 ----
***************
*** 138,145 ****
krb5_kvno fail_auth_count;
krb5_int16 n_key_data;
krb5_int16 n_tl_data;
! krb5_tl_data *tl_data;
! krb5_key_data *key_data;
} kadm5_principal_ent_rec_v2, *kadm5_principal_ent_t_v2;

typedef struct _kadm5_principal_ent_t_v1 {
--- 137,144 ----
krb5_kvno fail_auth_count;
krb5_int16 n_key_data;
krb5_int16 n_tl_data;
! struct _krb5_tl_data *tl_data;
! struct _krb5_key_data *key_data;
} kadm5_principal_ent_rec_v2, *kadm5_principal_ent_t_v2;

typedef struct _kadm5_principal_ent_t_v1 {
***************
*** 403,409 ****
#if USE_KADM5_API_VERSION > 1
kadm5_ret_t kadm5_free_key_data(void *server_handle,
krb5_int16 *n_key_data,
! krb5_key_data *key_data);
#endif

#if USE_KADM5_API_VERSION == 1
--- 402,408 ----
#if USE_KADM5_API_VERSION > 1
kadm5_ret_t kadm5_free_key_data(void *server_handle,
krb5_int16 *n_key_data,
! struct _krb5_key_data *key_data);
#endif

#if USE_KADM5_API_VERSION == 1
Index: lib/kadm5/clnt/client_principal.c
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/kadm5/clnt/client_principal.c,v
retrieving revision 1.6
diff -c -r1.6 client_principal.c
*** client_principal.c 1998/02/14 02:32:56 1.6
--- client_principal.c 1998/10/27 21:47:53
***************
*** 8,13 ****
--- 8,14 ----
static char *rcsid = "$Header: /cvs/krbdev/krb5/src/lib/kadm5/clnt/client_principal.c,v 1.6 1998/02/14 02:32:56 tlyu Exp $";
#endif

+ #include <k5-int.h>
#include <gssrpc/rpc.h>
#include <kadm5/admin.h>
#include <kadm5/kadm_rpc.h>
Index: lib/rpc/Makefile.in
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/rpc/Makefile.in,v
retrieving revision 1.18
diff -c -r1.18 Makefile.in
*** Makefile.in 1998/04/15 22:14:48 1.18
--- Makefile.in 1998/10/27 21:48:04
***************
*** 199,204 ****
--- 199,212 ----
fi ; \
done

+ install-unix::
+ @set -x; for f in $(SRC_HDRS) ; do \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/gssrpc/$$f ; \
+ done
+ @set -x; for f in $(BUILD_HDRS) ; do \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(KRB5_INCDIR)/gssrpc/$$f ; \
+ done
+
clean-unix::
$(RM) $(HDRS)
for i in $(SRC_HDRS) $(BUILD_HDRS) ; do \
Show quoted text
>Audit-Trail:
>Unformatted:
Download (untitled) / with headers
text/plain 3.6KiB
From roma@lutefisk.cso.uiuc.edu Thu Jul 22 15:51:27 1999
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 PAA20570 for <bugs@RT-11.MIT.EDU>; Thu, 22 Jul 1999 15:51:27 -0400
Received: from lutefisk.cso.uiuc.edu by MIT.EDU with SMTP
id AA09124; Thu, 22 Jul 99 15:51:26 EDT
Received: (from roma@localhost)
by lutefisk.cso.uiuc.edu (8.9.1/8.9.1) id OAA17290;
Thu, 22 Jul 1999 14:51:24 -0500
Message-Id: <199907221951.OAA17290@lutefisk.cso.uiuc.edu>
Date: Thu, 22 Jul 1999 14:51:24 -0500
From: roma@uiuc.edu
Reply-To: roma@uiuc.edu
To: krb5-bugs@MIT.EDU
Subject: include files required by kadm5 applications not installed
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 734
>Category: krb5-admin
>Synopsis: can't find kadm5 include files in any installed directory
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Jul 22 15:52:01 EDT 1999
>Last-Modified: Thu Jul 22 16:09:00 EDT 1999
>Originator: Jon Roma
>Organization:
University of Illinois at Urbana-Champaign
Show quoted text
>Release: krb5-1.0.6
>Environment:

System: AIX lutefisk 2 4 000006364900


Show quoted text
>Description:

We have several locally-developed applications that need to interface with
the Kerberos administration system using the KADM5 application programming
interface.

The document titled "Kerberos Administration System -- KADM5 API Functional
Specifications" by Barry Jaspan states in section 4 that the data
structures needed for this API are defined in the include file
kadm5/admin.h .

A compilation of our locally-developed applications fails due to the
inability to find the kadm5/admin.h include file as well as several other
include files on which this file depends.

This failure occurs because several include files required for the successful
compilation of a utility using the KADM5 API are never installed by the
'make install' Makefile target; as such, they do not reside in a directory
such as /usr/local/include where the compiler/preprocessor will find them.

Compilation will succeed if the following additions are made to the
preprocessor directives used in compile:

-I$KRBROOT/src/include
-I$KRBROOT/src/include/krb5

where $KRBROOT denotes the full path of the root of the Kerberos source
tree.

In addition, the include files affected are removed by a 'make clean'.
This requires retaining the built source tree, instead of the preferred
and more conventional approach of installing include files into an
install directory such as /usr/local/include .

Our workaround of adding these preprocessor directives has allowed us to
successfully build the needed applications, but this workaround is not
desirable over the long term from a software management point of view;
I'm assuming that it is simply an inadvertant omission that the include
files needed for a KADM5 API client are not installed.

Show quoted text
>How-To-Repeat:

Show quoted text
>Fix:

See above for temporary workaround.
Show quoted text
>Audit-Trail:

From: Dan Winship <danw@MIT.EDU>
To: roma@uiuc.edu
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-admin/734: include files required by kadm5 applications not installed
Date: Thu, 22 Jul 1999 16:08:26 -0400 (EDT)

Show quoted text
> I'm assuming that it is simply an inadvertant omission that the include
> files needed for a KADM5 API client are not installed.

Unfortunately, it's not. I reported this a while ago (krb5-admin/617
in the GNATS database). Among other things, kadm5/admin.h #includes
k5-int.h, a header which is supposed to be strictly internal to the
krb5 source tree. So some degree of restructuring is needed to make
them installable.

-- Dan
Show quoted text
>Unformatted:
Download (untitled) / with headers
text/plain 2.1KiB
From darrenr@chiron.rais.nabaus.com.au Mon May 27 03:35:34 2002
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id DAA12397
for <bugs@RT-11.mit.edu>; Mon, 27 May 2002 03:35:33 -0400 (EDT)
Received: from orange.national.com.au (orange.national.com.au [203.57.240.81])
by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id DAA20789
for <krb5-bugs@mit.edu>; Mon, 27 May 2002 03:35:32 -0400 (EDT)
Received: by orange.national.com.au (Postfix, from userid 5)
id 421D9144849; Mon, 27 May 2002 17:35:30 +1000 (EST)
Received: from orange(203.57.240.81) by orange.national.com.au via csmap (V4.1)
id srcAAAy2ayjT; Mon, 27 May 02 17:35:29 +1000
Received: from chiron.rais.nabaus.com.au (unknown [164.53.57.131])
by orange.national.com.au (Postfix) with ESMTP id 68151144848
for <krb5-bugs@mit.edu>; Mon, 27 May 2002 17:35:29 +1000 (EST)
Received: (from darrenr@localhost)
by chiron.rais.nabaus.com.au (8.8.8+Sun/8.8.8) id RAA15149;
Mon, 27 May 2002 17:35:26 +1000 (EST)
Message-Id: <200205270735.RAA15149@chiron.rais.nabaus.com.au>
Date: Mon, 27 May 2002 17:35:26 +1000 (EST)
From: darrenr@chiron.rais.nabaus.com.au
Reply-To: darrenr@chiron.rais.nabaus.com.au
To: krb5-bugs@mit.edu
Cc: darrenr@chiron.nabaus.com.au
Subject: no include files installed for kadm5 functions
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 1116
>Category: krb5-libs
>Synopsis: no include files installed for kadm5 functions
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon May 27 03:36:00 EDT 2002
>Last-Modified:
>Originator: Darren Reed
>Organization:
Optimation
Show quoted text
>Release: krb5-1.2.5
>Environment:

System: SunOS chiron 5.5.1 Generic_103640-34 sun4u sparc SUNW,Ultra-2
Architecture: sun4

Show quoted text
>Description:
Whilst the documentation included with KerberosV 1.2.5 includes a
tex file documenting the public interface of kadm5, there are no
include files installed, by default, that provide the means to use
them.
Show quoted text
>How-To-Repeat:

Show quoted text
>Fix:

Show quoted text
>Audit-Trail:
>Unformatted:
Yes, this is a hard problem. We might want to actually fix this at some
point, but punt for now.
libkadm5 still isn't really suitable for public consumption, and it'll
be a while before we can safely install the headers.