diff options
Diffstat (limited to 'eBones')
-rw-r--r-- | eBones/include/rkinit_private.h | 8 | ||||
-rw-r--r-- | eBones/lib/libkrb/in_tkt.c | 8 | ||||
-rw-r--r-- | eBones/lib/libkrb/tkt_string.c | 6 | ||||
-rw-r--r-- | eBones/lib/librkinit/rk_lib.c | 10 |
4 files changed, 13 insertions, 19 deletions
diff --git a/eBones/include/rkinit_private.h b/eBones/include/rkinit_private.h index 7784b6e..3f677ca 100644 --- a/eBones/include/rkinit_private.h +++ b/eBones/include/rkinit_private.h @@ -1,7 +1,5 @@ /* - * $Id: rkinit_private.h,v 1.4 1993/12/23 16:47:39 dglo Exp $ - * $Source: /usr/sww/share/src/kerberosIV.BSD/include/RCS/rkinit_private.h,v $ - * $Author: dglo $ + * $Id: rkinit_private.h,v 1.1 1995/09/15 06:19:14 gibbs Exp $ * * Header file for rkinit library and server internal use */ @@ -9,10 +7,6 @@ #ifndef __RKINIT_PRIVATE_H__ #define __RKINIT_PRIVATE_H__ -#if !defined(lint) && !defined(SABER) -static const char *rcsid_rkinit_private_h = "$Id: rkinit_private.h,v 1.4 1993/12/23 16:47:39 dglo Exp $"; -#endif /* lint || SABER */ - #include <sys/types.h> #include <netinet/in.h> diff --git a/eBones/lib/libkrb/in_tkt.c b/eBones/lib/libkrb/in_tkt.c index 1f6ee8a..fe006a1 100644 --- a/eBones/lib/libkrb/in_tkt.c +++ b/eBones/lib/libkrb/in_tkt.c @@ -5,13 +5,13 @@ * <Copyright.MIT>. * * from: kt.c,v 4.9 89/10/25 19:03:35 qjb Exp $ - * $Id: in_tkt.c,v 1.6 1995/07/18 16:38:49 mark Exp $ + * $Id: in_tkt.c,v 1.4 1995/09/07 21:38:04 markm Exp $ */ #if 0 #ifndef lint static char rcsid[] = -"$Id: in_tkt.c,v 1.6 1995/07/18 16:38:49 mark Exp $"; +"$Id: in_tkt.c,v 1.4 1995/09/07 21:38:04 markm Exp $"; #endif /* lint */ #endif @@ -95,7 +95,7 @@ in_tkt(pname,pinst) return(KFAILURE); } else if (krb_debug) - printf("swapped UID's %ld and %ld\n",metoo,me); + printf("swapped UID's %d and %d\n",metoo,me); } if ((tktfile = open(file,O_CREAT | O_TRUNC | O_WRONLY,0600)) < 0) { if (krb_debug) @@ -110,7 +110,7 @@ in_tkt(pname,pinst) return(KFAILURE); } else if (krb_debug) - printf("swapped UID's %ld and %ld\n",me,metoo); + printf("swapped UID's %d and %d\n",me,metoo); } if (lstat(file,&buf) < 0) { if (krb_debug) diff --git a/eBones/lib/libkrb/tkt_string.c b/eBones/lib/libkrb/tkt_string.c index d944833..f7ae210 100644 --- a/eBones/lib/libkrb/tkt_string.c +++ b/eBones/lib/libkrb/tkt_string.c @@ -5,13 +5,13 @@ * <Copyright.MIT>. * * from: tkt_string.c,v 4.6 89/01/05 12:31:51 raeburn Exp $ - * $Id: tkt_string.c,v 1.3 1995/07/18 16:39:52 mark Exp $ + * $Id: tkt_string.c,v 1.3 1995/09/07 21:38:35 markm Exp $ */ #if 0 #ifndef lint static char *rcsid = -"$Id: tkt_string.c,v 1.3 1995/07/18 16:39:52 mark Exp $"; +"$Id: tkt_string.c,v 1.3 1995/09/07 21:38:35 markm Exp $"; #endif /* lint */ #endif @@ -51,7 +51,7 @@ char *tkt_string() } else { /* 32 bits of signed integer will always fit in 11 characters (including the sign), so no need to worry about overflow */ - (void) sprintf(krb_ticket_string, "%s%ld",TKT_ROOT,getuid()); + (void) sprintf(krb_ticket_string, "%s%d",TKT_ROOT,getuid()); } } return krb_ticket_string; diff --git a/eBones/lib/librkinit/rk_lib.c b/eBones/lib/librkinit/rk_lib.c index 06b8f39..30c2268 100644 --- a/eBones/lib/librkinit/rk_lib.c +++ b/eBones/lib/librkinit/rk_lib.c @@ -1,7 +1,7 @@ /* - * $Id: rk_lib.c,v 1.1 1993/12/10 19:32:01 dglo Exp gibbs $ - * $Source: /usr/src/eBones/librkinit/RCS/rk_lib.c,v $ - * $Author: dglo $ + * $Id: rk_lib.c,v 1.1.1.1 1995/09/15 06:09:30 gibbs Exp $ + * $Source: /home/ncvs/src/eBones/lib/librkinit/rk_lib.c,v $ + * $Author: gibbs $ * * This file contains the non-rpc top-level rkinit library routines. * The routines in the rkinit library that should be called from clients @@ -16,7 +16,7 @@ */ #if !defined(lint) && !defined(SABER) && !defined(LOCORE) && defined(RCS_HDRS) -static char *rcsid = "$Id: rk_lib.c,v 1.1 1993/12/10 19:32:01 dglo Exp gibbs $"; +static char *rcsid = "$Id: rk_lib.c,v 1.1.1.1 1995/09/15 06:09:30 gibbs Exp $"; #endif /* lint || SABER || LOCORE || RCS_HDRS */ #include <stdio.h> @@ -81,7 +81,7 @@ int rkinit(host, r_krealm, info, timeout) if ((status = setjmp(timeout_env)) == 0) { strcpy(origtktfilename, tkt_string()); - sprintf(tktfilename, "/tmp/tkt_rkinit.%ld", getpid()); + sprintf(tktfilename, "/tmp/tkt_rkinit.%d", getpid()); krb_set_tkt_string(tktfilename); if ((status = rki_choose_version(&version)) == RKINIT_SUCCESS) |