next up previous contents
Next: kadm5_modify_policy Up: Functions Previous: kadm5_create_policy   Contents

kadm5_delete_policy

kadm5_ret_t
kadm5_delete_policy(void *server_handle, char *policy);

Deletes a policy.

AUTHORIZATION REQUIRED: delete

  1. Return KADM5_BAD_POLICY if the policy name contains illegal characters.
  2. Return KADM5_UNK_POLICY if the named policy does not exist.
  3. Return KADM5_POLICY_REF if the named policy's refcnt is not 0.
  4. Delete policy.

RETURN CODES:

KADM5_BAD_POLICY
The policy name contains illegal characters.
KADM5_UNK_POLICY
Policy does not exist.
KADM5_POLICY_REF
Policy is being referenced.



Autobuild 2006-06-16