disable krb5-mech2 for now; from 1.1 branch
authorKen Raeburn <raeburn@mit.edu>
Wed, 1 Sep 1999 21:41:50 +0000 (21:41 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 1 Sep 1999 21:41:50 +0000 (21:41 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11773 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftp/ChangeLog
src/appl/gssftp/ftp/ftp.c
src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/client_init.c

index 4c287d294ed148645070e3dd5ea5064cab24268e..893c318d57e5d5af564fde43d1c8c3daa9e1a13d 100644 (file)
@@ -1,3 +1,7 @@
+1999-08-27  Tom Yu  <tlyu@mit.edu>
+
+       * ftp.c: Diable krb5-mech2 for now.
+
 Tue May 11 11:58:00 1999  Ezra Peisach  <epeisach@mit.edu>
 
        * ftp.c: Inclusion of gssapi_krb5.h requires gssapi_generic.h.
index c6e47bdec87aa5041ae89b0a8d0078b57768691c..bccd2facc25b8ff1d624076a08d7388a01a81067 100644 (file)
@@ -1877,9 +1877,7 @@ struct {
     const gss_OID_desc * const * mech_type;
     char *service_name;
 } gss_trials[] = {
-    { &gss_mech_krb5_v2, "ftp" },
     { &gss_mech_krb5, "ftp" },
-    { &gss_mech_krb5_v2, "host" },
     { &gss_mech_krb5, "host" },
 };
 int n_gss_trials = sizeof(gss_trials)/sizeof(gss_trials[0]);
index 9bb42cb26eacb60123689d29478ea117a1e2fc7e..e05cb51fd7346830d8755c9d921a6d3e7776a5e7 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-27  Tom Yu  <tlyu@mit.edu>
+
+       * client_init.c (_kadm5_init_any): Remove support for krb5-mech2
+       for now.
+
 Thu May 13 17:24:44 1999  Tom Yu  <tlyu@mit.edu>
 
        * client_init.c (_kadm5_init_any): Use gss_krb5_ccache_name() to
index e86fbe877f34bd60bcd24d4db9635bea894d0485..65a313d8d1d6ffadfd2f85cb179e180496d9d010 100644 (file)
@@ -469,29 +469,17 @@ static kadm5_ret_t _kadm5_init_any(char *client_name,
      
 #ifndef INIT_TEST
      handle->clnt->cl_auth = auth_gssapi_create(handle->clnt,
-                                       &gssstat,
-                                       &minor_stat,
-                                       gss_client_creds,
-                                       gss_target,
-                                       gss_mech_krb5_v2,
-                                       GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG,
-                                       0,
-                                       NULL,
-                                       NULL,
-                                       NULL);
-
-     if (!handle->clnt->cl_auth)
-        handle->clnt->cl_auth = auth_gssapi_create(handle->clnt,
-                                       &gssstat,
-                                       &minor_stat,
-                                       gss_client_creds,
-                                       gss_target,
-                                       gss_mech_krb5,
-                                       GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG,
-                                       0,
-                                       NULL,
-                                       NULL,
-                                       NULL);
+                                               &gssstat,
+                                               &minor_stat,
+                                               gss_client_creds,
+                                               gss_target,
+                                               gss_mech_krb5,
+                                               GSS_C_MUTUAL_FLAG
+                                               | GSS_C_REPLAY_FLAG,
+                                               0,
+                                               NULL,
+                                               NULL,
+                                               NULL);
 
      (void) gss_release_name(&minor_stat, &gss_target);
 #endif /* ! INIT_TEST */