svn rev #23607: trunk/src/lib/kadm5/srv/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Jan 7 15:57:02 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23607
Commit By: ghudson
Log Message:
ticket: 6546
status: open

When retrieving the kadmin/history key, accept any enctype, as the
current master key enctype may not match the one the KDB was created
with.



Changed Files:
U   trunk/src/lib/kadm5/srv/server_kdb.c
Modified: trunk/src/lib/kadm5/srv/server_kdb.c
===================================================================
--- trunk/src/lib/kadm5/srv/server_kdb.c	2010-01-07 19:17:55 UTC (rev 23606)
+++ trunk/src/lib/kadm5/srv/server_kdb.c	2010-01-07 20:57:02 UTC (rev 23607)
@@ -205,8 +205,8 @@
 
     }
 
-    ret = krb5_dbe_find_enctype(handle->context, &hist_db,
-                                handle->params.enctype, -1, -1, &key_data);
+    ret = krb5_dbe_find_enctype(handle->context, &hist_db, -1, -1, -1,
+                                &key_data);
     if (ret)
         goto done;
 




More information about the cvs-krb5 mailing list