summaryrefslogtreecommitdiffstats
path: root/sbin/restore/main.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2003-05-01 20:09:58 +0000
committermarkm <markm@FreeBSD.org>2003-05-01 20:09:58 +0000
commit4a635f887e72a0ea5eef446a774cacc3f16826b9 (patch)
treea5d4c911662afad675e877472c123fda8fe29833 /sbin/restore/main.c
parent3c131e044ae8a822e5abb96a7883d8e3fddb16a7 (diff)
downloadFreeBSD-src-4a635f887e72a0ea5eef446a774cacc3f16826b9.zip
FreeBSD-src-4a635f887e72a0ea5eef446a774cacc3f16826b9.tar.gz
De-Kerberise (KerberosIV). KerberosIV is no longer present, and
remote backups can still be done with Kerberos authentication using SSH and Kerberos 5.
Diffstat (limited to 'sbin/restore/main.c')
-rw-r--r--sbin/restore/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sbin/restore/main.c b/sbin/restore/main.c
index e612436..17abadb 100644
--- a/sbin/restore/main.c
+++ b/sbin/restore/main.c
@@ -65,7 +65,6 @@ static const char rcsid[] =
int bflag = 0, cvtflag = 0, dflag = 0, vflag = 0, yflag = 0;
int hflag = 1, mflag = 1, Nflag = 0;
int uflag = 0;
-int dokerberos = 0;
char command = '\0';
long dumpnum = 1;
long volno = 0;
@@ -98,11 +97,7 @@ main(int argc, char *argv[])
if ((inputdev = getenv("TAPE")) == NULL)
inputdev = _PATH_DEFTAPE;
obsolete(&argc, &argv);
-#ifdef KERBEROS
-#define optlist "b:df:hikmNRrs:tuvxy"
-#else
#define optlist "b:df:himNRrs:tuvxy"
-#endif
while ((ch = getopt(argc, argv, optlist)) != -1)
switch(ch) {
case 'b':
@@ -123,11 +118,6 @@ main(int argc, char *argv[])
case 'h':
hflag = 0;
break;
-#ifdef KERBEROS
- case 'k':
- dokerberos = 1;
- break;
-#endif
case 'i':
case 'R':
case 'r':
OpenPOWER on IntegriCloud