From 1a831dae4a2ead43401fe50d0d52e86a085dab22 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 21 Jun 2000 02:10:41 +0000 Subject: [PATCH] make trying to use encryption and bsd authentication a crime git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8424 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rsh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appl/rsh/rsh.c b/appl/rsh/rsh.c index 723e11477..220675e3e 100644 --- a/appl/rsh/rsh.c +++ b/appl/rsh/rsh.c @@ -972,7 +972,8 @@ main(int argc, char **argv) else tmp_port = krb5_getportbyname(context, "shell", "tcp", 514); auth_method = AUTH_BROKEN; - do_encrypt = 0; + if (do_encrypt) + errx (1, "encryption not supported with priv port authentication"); ret = doit_broken (argc, argv, host_index, host, user, local_user, tmp_port,