kadm5: add chpass_with_key hook (#397)
authorLuke Howard <lukeh@padl.com>
Thu, 10 Jan 2019 04:18:10 +0000 (15:18 +1100)
committerLuke Howard <lukeh@padl.com>
Thu, 10 Jan 2019 04:18:10 +0000 (15:18 +1100)
commit57c25d9828b8960eda8fcdec4417009d799423e7
tree12a42644ba0ae68c69231cdcf8e892fb983bfefd
parent59ba12f83233db04847de5ae80f088ea4786aad4
kadm5: add chpass_with_key hook (#397)

Add a hook for changing a password with a key. This hook should be consolidated
into one shared with randkey and setkey, but for now I have continued to have
the hooks follow the kadm5 APIs themselves in both signature and quantity.

(This means the randkey one isn't actually very useful because it doesn't
provide the hook with the keys.)
lib/kadm5/chpass_s.c
lib/kadm5/kadm5-hook.h
lib/kadm5/sample_hook.c