Increment authdata SPI to V2 (V1 was experimental) to account for additional
authorLuke Howard <lukeh@padl.com>
Wed, 21 Oct 2009 00:53:47 +0000 (00:53 +0000)
committerLuke Howard <lukeh@padl.com>
Wed, 21 Oct 2009 00:53:47 +0000 (00:53 +0000)
krbtgt key parameter.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22959 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/kdc_authdata.c
src/plugins/authdata/greet_server/greet_auth.c

index 0950a5bf83c6db70d154a86d6bdc2cf9f4f500bd..1b70d7c820857ee9d698a4565bb3a0fba2f238d3 100644 (file)
@@ -50,7 +50,7 @@ typedef krb5_error_code (*authdata_proc_0)
      krb5_kdc_req *request,
      krb5_enc_tkt_part * enc_tkt_reply);
 /* MIT Kerberos 1.8 (V2) authdata plugin callback */
-typedef krb5_error_code (*authdata_proc_1)
+typedef krb5_error_code (*authdata_proc_2)
     (krb5_context, unsigned int flags,
      krb5_db_entry *client, krb5_db_entry *server,
      krb5_db_entry *krbtgt,
@@ -108,7 +108,7 @@ typedef struct _krb5_authdata_systems {
     init_proc   init;
     fini_proc   fini;
     union {
-       authdata_proc_1 v2;
+       authdata_proc_2 v2;
        authdata_proc_0 v0;
     } handle_authdata;
 } krb5_authdata_systems;
@@ -148,7 +148,7 @@ load_authdata_plugins(krb5_context context)
     n_authdata_systems = 0;
 
     if (krb5int_get_plugin_dir_data(&authdata_plugins,
-                                   "authdata_server_1",
+                                   "authdata_server_2",
                                    &authdata_plugins_ftables_v2, &context->err) != 0 ||
        krb5int_get_plugin_dir_data(&authdata_plugins,
                                    "authdata_server_0",
index cacbc659fed3155d64e178ad363d7ad57c0c3307..3f1e3d9eaa2e07bd1bbb2bca89d0021472ec1370 100644 (file)
@@ -183,7 +183,7 @@ greet_authdata(krb5_context context,
     return code;
 }
 
-krb5plugin_authdata_server_ftable_v1 authdata_server_1 = {
+krb5plugin_authdata_server_ftable_v2 authdata_server_2 = {
     "greet",
     greet_init,
     greet_fini,