add HDBGET: that only supports get, iteration doesnt really make sense for the HDB keytab except when dumping
This commit is contained in:
@@ -287,6 +287,7 @@ struct hdb_print_entry_arg {
|
||||
typedef krb5_error_code (*hdb_foreach_func_t)(krb5_context, HDB*,
|
||||
hdb_entry_ex*, void*);
|
||||
extern krb5_kt_ops hdb_kt_ops;
|
||||
extern krb5_kt_ops hdb_get_kt_ops;
|
||||
|
||||
extern const int hdb_interface_version;
|
||||
|
||||
|
@@ -424,3 +424,19 @@ krb5_kt_ops hdb_kt_ops = {
|
||||
NULL,
|
||||
0
|
||||
};
|
||||
|
||||
krb5_kt_ops hdb_get_kt_ops = {
|
||||
"HDBGET",
|
||||
hdb_resolve,
|
||||
hdb_get_name,
|
||||
hdb_close,
|
||||
NULL,
|
||||
hdb_get_entry,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
0
|
||||
};
|
||||
|
@@ -73,6 +73,7 @@ EXPORTS
|
||||
initialize_hdb_error_table_r
|
||||
|
||||
hdb_kt_ops
|
||||
hdb_get_kt_ops
|
||||
|
||||
; MIT KDB related entries
|
||||
_hdb_mdb_value2entry
|
||||
|
@@ -80,6 +80,7 @@ HEIMDAL_HDB_1.0 {
|
||||
_hdb_mit_dump2mitdb_entry;
|
||||
|
||||
hdb_kt_ops;
|
||||
hdb_get_kt_ops;
|
||||
|
||||
# some random bits needed for libkadm
|
||||
add_HDB_Ext_KeySet;
|
||||
|
Reference in New Issue
Block a user