next up previous contents
Next: kadm5_chpass_principal, randkey_principal Up: Function Details Previous: kadm5_delete_principal   Contents

kadm5_modify_principal

If the named principal exists in either the Kerberos or admin principal database, but not both, return KADM5_BAD_DB.

If pw_history_num changes and the new value $n$ is smaller than the current value of num_old_keys, old_keys should end up with the $n$ most recent keys; these are found by counting backwards $n$ elements in old_keys from old_key_next. old_key_nexts should then be reset to 0, the oldest of the saved keys, and num_old_keys set to $n$, the new actual number of old keys in the array.



Autobuild 2006-06-16