OpenSSH 2.3.0p1 port to BSDI BSD/OS

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Sun Feb 18 10:31:25 EST 2001


On Sat, Feb 17, 2001 at 05:58:38PM -0500, David J. MacKenzie wrote:
> 
> > could you please try this, does kerberos+password work?
> > does skey work? does user:style work with challenge-
> > reposnse in ssh1 and ssh2?
> 
> I actually stopped using S/Key when ssh became prevalent, so I don't
> have it set up any more.  However, the auth style stuff now works
> for passwd and krb5.
> 
> The error message for approval is wrong, though.   auth_approval()
> does not set errno, so it produces this sort of message:
> 
> djm at air 397 $ ssh catapult
> djm at catapult's password:
> Approval failure: Undefined error: 0
> Connection to catapult closed.
> 
> It looks like you should be using error() instead of perror().

ok, it does now:

if (auth_approval(NULL, lc, pw->pw_name, "auth-ssh") <= 0) {
	error("approval failure for %s", pw->pw_name);
	fprintf(stderr, "Approval failure");
	exit(1);
}

error() for the log,
fprintf for the user.

anything else?





More information about the openssh-unix-dev mailing list