Added stubs for the kadm5 policy functions.
This commit is contained in:

committed by
Nicolas Williams

parent
56259efbac
commit
26f9924bb3
@@ -340,12 +340,40 @@ kadm5_unlock(void *server_handle)
|
||||
}
|
||||
|
||||
|
||||
kadm5_ret_t
|
||||
kadm5_create_policy(void *server_handle,
|
||||
kadm5_policy_ent_t policy, long mask)
|
||||
{
|
||||
return KADM5_POLICY_OP_NOSUPP;
|
||||
}
|
||||
|
||||
kadm5_ret_t
|
||||
kadm5_delete_policy(void *server_handle, char *name)
|
||||
{
|
||||
return KADM5_POLICY_OP_NOSUPP;
|
||||
}
|
||||
|
||||
|
||||
kadm5_ret_t
|
||||
kadm5_modify_policy(void *server_handle, kadm5_policy_ent_t policy,
|
||||
uint32_t mask)
|
||||
{
|
||||
return KADM5_POLICY_OP_NOSUPP;
|
||||
}
|
||||
|
||||
kadm5_ret_t
|
||||
kadm5_get_policy(void *server_handle, char *policy, kadm5_policy_ent_t ent)
|
||||
{
|
||||
memset(ent, 0, sizeof (*ent));
|
||||
return KADM5_POLICY_OP_NOSUPP;
|
||||
}
|
||||
|
||||
|
||||
kadm5_ret_t
|
||||
kadm5_get_policies(void *server_handle, char *exp, char ***pols, int *count)
|
||||
{
|
||||
*count = 0;
|
||||
*pols = NULL;
|
||||
|
||||
return 0;
|
||||
return KADM5_POLICY_OP_NOSUPP;
|
||||
}
|
||||
|
||||
|
@@ -60,3 +60,4 @@ error_code BAD_SERVER_NAME, "Bad krb5 admin server hostname"
|
||||
error_code KS_TUPLE_NOSUPP, "Key/salt tuples not supported by this function"
|
||||
error_code SETKEY3_ETYPE_MISMATCH, "Key/salt tuples don't match keys"
|
||||
error_code DECRYPT_USAGE_NOSUPP, "Given usage of kadm5_decrypt() not supported"
|
||||
error_code POLICY_OP_NOSUPP, "Policy operations not supported"
|
||||
|
Reference in New Issue
Block a user