From fe56c09a7feeb2d1c9cd699fda07e145c4c354a2 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 5 Oct 2007 01:24:06 +0000 Subject: Pull keytab handling in the client into a separate file for later expansion. Use the fine-grained remctl API instead of the simple one since in some cases we'll be running multiple commands. --- client/srvtab.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'client/srvtab.c') diff --git a/client/srvtab.c b/client/srvtab.c index 68a2618..e6b9e0d 100644 --- a/client/srvtab.c +++ b/client/srvtab.c @@ -11,8 +11,6 @@ #include #include -#include -#include #include #include @@ -100,8 +98,6 @@ write_srvtab(const char *srvtab, const char *principal, const char *keytab) krb5_keytab_entry entry; krb5_error_code ret; size_t length; - int fd; - ssize_t status; char aname[ANAME_SZ + 1] = ""; char inst[INST_SZ + 1] = ""; char realm[REALM_SZ + 1] = ""; -- cgit v1.2.3