Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add kgetcred, a tool that fetches a credential from the KDC
details: https://anonhg.NetBSD.org/src/rev/7283807975d4
branches: trunk
changeset: 566943:7283807975d4
user: lha <lha%NetBSD.org@localhost>
date: Tue May 25 10:31:45 2004 +0000
description:
Add kgetcred, a tool that fetches a credential from the KDC
Useful when debugging service and cross-realm problems.
diffstat:
distrib/sets/lists/base/mi | 3 ++-
distrib/sets/lists/man/mi | 4 +++-
usr.bin/Makefile | 4 ++--
usr.bin/kgetcred/Makefile | 29 +++++++++++++++++++++++++++++
4 files changed, 36 insertions(+), 4 deletions(-)
diffs (93 lines):
diff -r 7058b66f1985 -r 7283807975d4 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Tue May 25 07:09:09 2004 +0000
+++ b/distrib/sets/lists/base/mi Tue May 25 10:31:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.482 2004/05/19 19:32:24 christos Exp $
+# $NetBSD: mi,v 1.483 2004/05/25 10:31:46 lha Exp $
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@@ -460,6 +460,7 @@
./usr/bin/kdestroy base-krb5-bin kerberos
./usr/bin/kdump base-debug-bin
./usr/bin/kf base-obsolete obsolete
+./usr/bin/kgetcred base-krb5-bin kerberos
./usr/bin/kinit base-krb5-bin kerberos
./usr/bin/klist base-krb5-bin kerberos
./usr/bin/kpasswd base-krb5-bin kerberos
diff -r 7058b66f1985 -r 7283807975d4 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Tue May 25 07:09:09 2004 +0000
+++ b/distrib/sets/lists/man/mi Tue May 25 10:31:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.697 2004/05/25 00:20:39 tsarna Exp $
+# $NetBSD: mi,v 1.698 2004/05/25 10:31:46 lha Exp $
./etc/mtree/set.man man-sys-root
./usr/share/info/am-utils.info man-amd-info info
./usr/share/info/as.info man-computil-info bfd,info
@@ -181,6 +181,7 @@
./usr/share/man/cat1/kdestroy.0 man-krb5-catman kerberos,.cat
./usr/share/man/cat1/kdump.0 man-debug-catman .cat
./usr/share/man/cat1/kf.0 man-obsolete obsolete
+./usr/share/man/cat1/kgetcred.0 man-krb5-catman kerberos
./usr/share/man/cat1/kill.0 man-util-catman .cat
./usr/share/man/cat1/kinit.0 man-krb5-catman kerberos,.cat
./usr/share/man/cat1/klist.0 man-krb5-catman kerberos,.cat
@@ -2285,6 +2286,7 @@
./usr/share/man/man1/kdestroy.1 man-krb5-man kerberos,.man
./usr/share/man/man1/kdump.1 man-debug-man .man
./usr/share/man/man1/kf.1 man-obsolete obsolete
+./usr/share/man/man1/kgetcred.1 man-krb5-catman kerberos
./usr/share/man/man1/kill.1 man-util-man .man
./usr/share/man/man1/kinit.1 man-krb5-man kerberos,.man
./usr/share/man/man1/klist.1 man-krb5-man kerberos,.man
diff -r 7058b66f1985 -r 7283807975d4 usr.bin/Makefile
--- a/usr.bin/Makefile Tue May 25 07:09:09 2004 +0000
+++ b/usr.bin/Makefile Tue May 25 10:31:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2004/04/01 14:41:53 martin Exp $
+# $NetBSD: Makefile,v 1.140 2004/05/25 10:31:45 lha Exp $
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
.include <bsd.own.mk>
@@ -33,7 +33,7 @@
.endif
.if (${MKKERBEROS} != "no")
-SUBDIR+= compile_et kdestroy kinit klist mk_cmds string2key
+SUBDIR+= compile_et kdestroy kgetcred kinit klist mk_cmds string2key
.endif
.if (${MKSKEY} != "no")
diff -r 7058b66f1985 -r 7283807975d4 usr.bin/kgetcred/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.bin/kgetcred/Makefile Tue May 25 10:31:45 2004 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2004/05/25 10:31:46 lha Exp $
+
+NOLINT= # defined
+
+.include <bsd.own.mk>
+
+DIST= ${NETBSDSRCDIR}/crypto/dist
+.PATH: ${DIST}/heimdal/kuser
+
+WARNS?= 1
+
+PROG= kgetcred
+
+SRCS= kgetcred.c
+
+CPPFLAGS+= -I. \
+ -I${DIST}/heimdal/kuser \
+ -I${NETBSDSRCDIR}/include/heimdal \
+ -I${DESTDIR}/usr/include/krb5 \
+ -DHAVE_CONFIG_H
+
+VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
+
+LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err \
+ -L${VERS} -lvers -lroken -lcrypt
+DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
+ ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
+
+.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index