[OpenAFS-devel] KAA_AuthenticateV2

Love lha@stacken.kth.se
Thu, 14 Apr 2005 20:54:48 +0200


--=-=-=


Christof Hanke <hanke@rzg.mpg.de> writes:

> hanke@senf:src>diff -u heimdal-0.6.3/kdc/kaserver.c
> heimdal-0.6.3/kdc/kaserver.c.
> --- heimdal-0.6.3/kdc/kaserver.c        2003-10-06 23:02:35.324554230 +0200
> +++ heimdal-0.6.3/kdc/kaserver.c.       2005-04-14 17:47:40.415265408 +0200
> @@ -828,6 +828,8 @@
>      case GETPASSWORD :
>      case GETRANDOMKEY :
>      case AUTHENTICATE_V2 :
> +        do_authenticate(&hdr, sp, addr, reply);
> +        break;
>      default :
>         make_error_reply (&hdr, RXGEN_OPCODE, reply);
>         break;
>
> (Hopefully a heimdal-developer reads this, otherwise I can report it
> there as well)

You sure you don't want this instead:

Love


--- kaserver.c	1 Apr 2005 15:47:40 -0000	1.24
+++ kaserver.c	7 Apr 2005 17:47:41 -0000
@@ -827,6 +827,7 @@
     krb5_ret_int32(sp, &op);
     switch (op) {
     case AUTHENTICATE :
+    case AUTHENTICATE_V2 :
 	do_authenticate (&hdr, sp, addr, reply);
 	break;
     case GETTICKET :
@@ -845,7 +846,6 @@
     case DEBUG :
     case GETPASSWORD :
     case GETRANDOMKEY :
-    case AUTHENTICATE_V2 :
     default :
 	make_error_reply (&hdr, RXGEN_OPCODE, reply);
 	break;



--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)

iQEVAwUAQl68eto1gLFKFEjAAQKwMAf/WsHa0vroNHP7aCmbVXW7JzwMWcp9NC4a
HMx8mRhHA1lAe7HG5+OKWPPizlmanjNoZyOvYjm+w9s10NiuOmKCHFMUDvTStcbc
1mrVweE3JS30dYWht72lW0oEWkIyIdv92K/iynmQlIDM0nsU+Sf7cP7SXYN1GEZu
PRtudYxOhRosKrblTFUknUdCyFmNiL9v5Bl9qHIzFhksFQmNI8hW5TQ0Q1YmoOZ6
NDX3iD+Q/E4iw+9jl4I4wbBP4ZWRamoGr4mpW4kMn7Wxszo0pAjqpn97XGOWkxBk
J4lIeNlgmI1NnCb2ZtD+Z8dWu4Cpym3WJzMemJoJEX2wzMICC4rigA==
=eHnR
-----END PGP SIGNATURE-----
--=-=-=--