diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/preauth_plugin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/krb5/preauth_plugin.h b/src/include/krb5/preauth_plugin.h index 1646263d9..e4f9de2e7 100644 --- a/src/include/krb5/preauth_plugin.h +++ b/src/include/krb5/preauth_plugin.h @@ -355,6 +355,16 @@ typedef struct krb5_kdcpreauth_callbacks_st { krb5_keyblock *(*fast_armor)(krb5_context context, krb5_kdcpreauth_rock rock); + /* Retrieve a string attribute from the client DB entry, or NULL if no such + * attribute is set. Free the result with the free_string callback. */ + krb5_error_code (*get_string)(krb5_context context, + krb5_kdcpreauth_rock rock, const char *key, + char **value_out); + + /* Free the result of get_string. */ + void (*free_string)(krb5_context context, krb5_kdcpreauth_rock rock, + char *string); + /* Get a pointer to the client DB entry (returned as a void pointer to * avoid a dependency on a libkdb5 type). */ void *(*client_entry)(krb5_context context, krb5_kdcpreauth_rock rock); |
