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
This commit is contained in:
Assar Westerlund
2000-06-21 02:10:41 +00:00
parent 6cf6f3e080
commit 1a831dae4a

View File

@@ -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,