add HDBGET: that only supports get, iteration doesnt really make sense for the HDB keytab except when dumping
This commit is contained in:
@@ -37,7 +37,7 @@ static char *check_library = NULL;
|
||||
static char *check_function = NULL;
|
||||
static getarg_strings policy_libraries = { 0, NULL };
|
||||
static char *config_file;
|
||||
static char sHDB[] = "HDB:";
|
||||
static char sHDB[] = "HDBGET:";
|
||||
static char *keytab_str = sHDB;
|
||||
static int help_flag;
|
||||
static int version_flag;
|
||||
@@ -142,7 +142,7 @@ main(int argc, char **argv)
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "krb5_set_warn_dest");
|
||||
|
||||
ret = krb5_kt_register(context, &hdb_kt_ops);
|
||||
ret = krb5_kt_register(context, &hdb_get_kt_ops);
|
||||
if(ret)
|
||||
krb5_err(context, 1, ret, "krb5_kt_register");
|
||||
|
||||
|
Reference in New Issue
Block a user