summaryrefslogtreecommitdiff
path: root/client/srvtab.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2007-10-05 01:24:06 +0000
committerRuss Allbery <rra@stanford.edu>2007-10-05 01:24:06 +0000
commitfe56c09a7feeb2d1c9cd699fda07e145c4c354a2 (patch)
treee0e1f0570ef13d801b5a5bcb5920bb2e12180635 /client/srvtab.c
parentdbe948ca3ebdad97f4f2096f6074623fc2a8e3c8 (diff)
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.
Diffstat (limited to 'client/srvtab.c')
-rw-r--r--client/srvtab.c4
1 files changed, 0 insertions, 4 deletions
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 <config.h>
#include <system.h>
-#include <errno.h>
-#include <fcntl.h>
#include <krb5.h>
#include <client/internal.h>
@@ -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] = "";