+Fri Feb 23 19:39:52 1996 Mark Eichin <eichin@cygnus.com>
+
+ * keytab.c (krb5_ktkdb_close): new function, non-optional.
+ (krb5_kt_kdb_ops): include _close method, comment what the other
+ slots are.
+
Tue Feb 13 21:33:03 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* kdb_dbm.c (krb5_dbm_db_rename): Initialize pointer before use
#include "k5-int.h"
#include "kdb_dbc.h"
+krb5_error_code krb5_ktkdb_close KRB5_PROTOTYPE((krb5_context, krb5_keytab));
+
krb5_error_code krb5_ktkdb_get_entry KRB5_PROTOTYPE((krb5_context, krb5_keytab, krb5_principal,
- krb5_kvno, krb5_enctype, krb5_keytab_entry *));
+ krb5_kvno, krb5_enctype, krb5_keytab_entry *));
krb5_kt_ops krb5_kt_kdb_ops = {
0,
"KDB", /* Prefix -- this string should not appear anywhere else! */
- NULL,
- NULL,
- NULL,
- krb5_ktkdb_get_entry,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
+ NULL, /* resolve */
+ NULL, /* get_name */
+ krb5_ktkdb_close, /* close */
+ krb5_ktkdb_get_entry, /* get */
+ NULL, /* start_seq_get */
+ NULL, /* get_next */
+ NULL, /* end_get */
+ NULL, /* add (extended) */
+ NULL, /* remove (extended) */
NULL, /* (void *) &krb5_ktfile_ser_entry */
};
return(0);
}
+krb5_error_code
+krb5_ktkdb_close(context, kt)
+ krb5_context context;
+ krb5_keytab kt;
+{
+ /* no state outstanding... */
+ return 0;
+}
+
krb5_error_code
krb5_ktkdb_get_entry(context, id, principal, kvno, enctype, entry)
krb5_context context;