Kerberos.NET
Kerberos.NET copied to clipboard
Add support for RFC 3244 "Change Password" flow
Is your feature request related to a problem? Please describe. Change password is a common enough requirement for Kerberos users and it should be possible to expose this functionality to callers with minimal implementation requirements. This supersedes https://github.com/SteveSyfuhs/Kerberos.NET/issues/79.
Describe the solution you'd like
KerberosClient should add a method ChangePassword(KerberosCredential currentCredential, string newPassword). This should invoke an AS-REQ call to service kadmin/changepw@REALM and then a call to a KDC on port 464 with a change-password message.
Additional context
Spec is defined here: https://www.rfc-editor.org/rfc/rfc3244.txt