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

Assar Westerlund assar at stacken.kth.se
Thu Jul 15 00:57:59 CEST 1999


I wrote:

> Ken Raeburn <raeburn at 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 at 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 \





More information about the Arla-drinkers mailing list