[974] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: random problems, mostly relating to dependencies on kth-krb?

daemon@ATHENA.MIT.EDU (Assar Westerlund)
Wed Jul 14 19:04:17 1999

From owner-arla-drinkers@stacken.kth.se Wed Jul 14 23:04:16 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 4624 invoked from network); 14 Jul 1999 23:04:15 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 14 Jul 1999 23:04:15 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id AAA28752
	for arla-drinkers-list; Thu, 15 Jul 1999 00:57:59 +0200 (MET DST)
Received: from assaris.sics.se (dhcp31162.ietf.uninett.no [128.39.31.162])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id AAA28748
	for <arla-drinkers@stacken.kth.se>; Thu, 15 Jul 1999 00:57:55 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.7.3) id AAA01048; Thu, 15 Jul 1999 00:58:07 +0200 (CEST)
From: Assar Westerlund <assar@stacken.kth.se>
To: Ken Raeburn <raeburn@raeburn.org>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: random problems, mostly relating to dependencies on kth-krb?
References: <199907131505.LAA11819@raeburn.org> <5l908jug0h.fsf@assaris.sics.se>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
Date: 15 Jul 1999 00:58:06 +0200
In-Reply-To: Assar Westerlund's message of "14 Jul 1999 22:34:54 +0200"
Message-ID: <5lyagi96v5.fsf@assaris.sics.se>
Lines: 166
X-Mailer: Gnus v5.5/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

I wrote:

> Ken Raeburn <raeburn@raeburn.org> writes:
> > 
> > 	krb_parse_name
> > 	krb_unparse_name_r
> > 	krb_unparse_name_long_r
> 
> Ok, I've added implementations (in the first case in terms of
> kname_parse, and the second copying the code from krb4).  Patches at
> the end.

Chris pointed out that I missed one instance of krb_parse_name, patch
to that included below.

> > Also missing were
> > 
> > 	krb_life_to_time
> 
> This is rather hard, or it's some amount of code to copy (~200
> lines).  Against what kerberos library are you linking that doesn't
> have that?

Derrick told me that it's included in krbafs.  Assuming I didn't miss
any, I have made sure that all places that link with rxkad also link
with kafs/krbafs.

/assar

Index: appl/klog.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/appl/klog.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -u -w -r1.3 -r1.4
--- klog.c	1999/07/14 20:47:05	1.3
+++ klog.c	1999/07/14 22:14:56	1.4
@@ -52,7 +52,7 @@
 #include <config.h>
 #endif
 
-RCSID("$Id: klog.c,v 1.3 1999/07/14 20:47:05 assar Exp $");
+RCSID("$Id: klog.c,v 1.4 1999/07/14 22:14:56 assar Exp $");
 
 #include "appl_locl.h"
 #include "klog.h"
@@ -576,7 +576,10 @@
 	    numservers=j;
 	} else {
 	    /* Not otherwise recognized argument assumed to be user@cell */
-	    krb_parse_name(argv[i], &princ);
+	    kname_parse (princ.name,
+			 princ.instance,
+			 princ.realm,
+			 argv[i]);
 	}
     }
 
Index: milko/bos/Makefile.in
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/milko/bos/Makefile.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- bos/Makefile.in	1999/07/09 21:00:30	1.3
+++ bos/Makefile.in	1999/07/14 22:53:26	1.4
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.3 1999/07/09 21:00:30 mackan Exp $
+# $Id: Makefile.in,v 1.4 1999/07/14 22:53:26 assar Exp $
 
 srcdir		= @srcdir@
 VPATH		= @srcdir@
@@ -40,6 +40,7 @@
 DEFINES		= -DDEBUG
 REALCFLAGS	= $(INCLUDES) @KRB_INC_FLAGS@ $(DEFINES) $(CFLAGS) -DRXDEBUG
 RXKADLIB	= @MILKO_RXKAD_LIBS@
+KAFS_LIBS	= @AIX_EXTRA_KAFS@ @KAFS_LIBS@
 LIBS		= -L../../rxdef -lrxvlserver \
 		  -L../lib/msecurity -lmsecurity \
 		  -L../../lib/acl -lacl \
@@ -48,6 +49,7 @@
 		  -L../../util -lutil \
 		  -L../../lwp -llwp @PLWP_LIB_FLAGS@ \
 		  -L../../lib/roken -lroken $(RXKADLIB) \
+		  $(KAFS_LIBS) \
 		  -L../../rxdef -lbosserver \
 		  @LIBS@
 LIBDEPENDS	= ../../rxdef/libbosserver.a ../../rx/librx.a \
Index: milko/dumbclient/Makefile.in
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/milko/dumbclient/Makefile.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- dumbclient/Makefile.in	1999/01/16 18:33:46	1.11
+++ dumbclient/Makefile.in	1999/07/14 22:49:29	1.12
@@ -26,7 +26,8 @@
 
 RXKADLIB	= @RXKAD_LIBS@
 REALRXKADLIB	= -L../../rxkad $(RXKADLIB)
-LIBS	= -L../../rxdef -lrxdefclient -L../../rx -L../../lwp -lrx -llwp -L../../util -lutil $(REALRXKADLIB) @LIBS@
+KAFS_LIBS	= @AIX_EXTRA_KAFS@ @KAFS_LIBS@
+LIBS	= -L../../rxdef -lrxdefclient -L../../rx -L../../lwp -lrx -llwp -L../../util -lutil $(REALRXKADLIB) $(KAFS_LIBS) @LIBS@
 
 all: 	dumbclient
 
Index: milko/fs/Makefile.in
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/milko/fs/Makefile.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -r1.6 -r1.7
--- fs/Makefile.in	1999/07/12 08:56:13	1.6
+++ fs/Makefile.in	1999/07/14 22:53:49	1.7
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.6 1999/07/12 08:56:13 map Exp $
+# $Id: Makefile.in,v 1.7 1999/07/14 22:53:49 assar Exp $
 
 srcdir		= @srcdir@
 VPATH		= @srcdir@
@@ -44,6 +44,7 @@
 DEFINES		= -DDEBUG
 REALCFLAGS	= $(INCLUDES) @KRB_INC_FLAGS@ $(DEFINES) $(CFLAGS) -DRXDEBUG
 RXKADLIB	= @MILKO_RXKAD_LIBS@
+KAFS_LIBS	= @AIX_EXTRA_KAFS@ @KAFS_LIBS@
 LIBS		= -L../lib/vld -lvld \
 		  -L../lib/svol -lsvol \
 		  -L../lib/vstatus -lvstatus \
@@ -58,6 +59,7 @@
 		  -L../../rxdef -lrxvolserver -lrxfsserver -L../../rx -lrx \
 		  -L../../lwp -llwp @PLWP_LIB_FLAGS@ \
 		  -L../../lib/roken -lroken $(RXKADLIB) \
+		  $(KAFS_LIBS) \
 		  @LIBS@
 LIBDEPENDS	= ../../rxdef/librxdefclient.a ../../rx/librx.a \
 		  ../../lwp/liblwp.a ../../util/libutil.a \
Index: milko/pts/Makefile.in
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/milko/pts/Makefile.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -r1.4 -r1.5
--- pts/Makefile.in	1999/07/09 21:00:30	1.4
+++ pts/Makefile.in	1999/07/14 22:54:11	1.5
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.4 1999/07/09 21:00:30 mackan Exp $
+# $Id: Makefile.in,v 1.5 1999/07/14 22:54:11 assar Exp $
 
 srcdir		= @srcdir@
 VPATH		= @srcdir@
@@ -42,6 +42,7 @@
 DEFINES		= -DDEBUG
 REALCFLAGS	= $(INCLUDES) @KRB_INC_FLAGS@ $(DEFINES) $(CFLAGS) -DRXDEBUG
 RXKADLIB	= @MILKO_RXKAD_LIBS@
+KAFS_LIBS	= @AIX_EXTRA_KAFS@ @KAFS_LIBS@
 LIBS		= -L../lib/msecurity -lmsecurity \
 		  -L../../rxdef -lrxfsserver \
 		  -L../../lib/acl -lacl \
@@ -50,6 +51,7 @@
 		  -L../../rxdef -lptserver -L../../rx -lrx \
 		  -L../../lwp -llwp @PLWP_LIB_FLAGS@ \
 		  -L../../lib/roken -lroken $(RXKADLIB) \
+		  $(KAFS_LIBS) \
 		  @LIBS@
 LIBDEPENDS	= ../../rxdef/librxdefclient.a ../../rx/librx.a \
 		  ../../lwp/liblwp.a ../../util/libutil.a \

home help back first fref pref prev next nref lref last post