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:
		| @@ -972,7 +972,8 @@ main(int argc, char **argv) | |||||||
| 	else | 	else | ||||||
| 	    tmp_port = krb5_getportbyname(context, "shell", "tcp", 514); | 	    tmp_port = krb5_getportbyname(context, "shell", "tcp", 514); | ||||||
| 	auth_method = AUTH_BROKEN; | 	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, | 	ret = doit_broken (argc, argv, host_index, host, | ||||||
| 			   user, local_user, | 			   user, local_user, | ||||||
| 			   tmp_port, | 			   tmp_port, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund