Add API to interpret changepw result strings
authorGreg Hudson <ghudson@mit.edu>
Wed, 9 May 2012 17:40:38 +0000 (17:40 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 9 May 2012 17:40:38 +0000 (17:40 +0000)
commit13a0013f55e9bea8384234f5caa1a0b444749daf
tree421085bed0a911b9a5de9ea06fbd401f37d5904b
parentc250f6743a623ab5086c56324060ebf99c740379
Add API to interpret changepw result strings

Active Directory returns structured policy information in the
nominally UTF-8 result string field of a password change reply.  Add a
new API krb5_chpw_message() to convert a result string into a
displayable message, interpreting policy information if present.

Patch from stefw@gnome.org with changes.

ticket: 7128

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25857 dc483132-0cff-0310-8789-dd5450dbe970
doc/rst_source/krb_appldev/refs/api/index.rst
src/clients/kpasswd/kpasswd.c
src/include/krb5/krb5.hin
src/lib/krb5/krb/chpw.c
src/lib/krb5/krb/gic_pwd.c
src/lib/krb5/libkrb5.exports
src/lib/krb5_32.def
src/tests/misc/Makefile.in
src/tests/misc/test_chpw_message.c [new file with mode: 0644]
src/util/collected-client-lib/libcollected.exports