add HDBGET: that only supports get, iteration doesnt really make sense for the HDB keytab except when dumping

This commit is contained in:
Love Hornquist Astrand
2013-10-15 12:40:39 +02:00
parent d1eb0da071
commit 1d84562886
16 changed files with 56 additions and 20 deletions

View File

@@ -921,7 +921,7 @@ write_stats(krb5_context context, slave *slaves, uint32_t current_version)
}
static char sHDB[] = "HDB:";
static char sHDB[] = "HDBGET:";
static char *realm;
static int version_flag;
static int help_flag;
@@ -1020,7 +1020,7 @@ main(int argc, char **argv)
krb5_openlog (context, "ipropd-master", &log_facility);
krb5_set_warn_dest(context, log_facility);
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");