In r21175 (on the mskrb branch, merged in r21690) the result codes for
authorGreg Hudson <ghudson@mit.edu>
Tue, 29 Mar 2011 22:44:30 +0000 (22:44 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 29 Mar 2011 22:44:30 +0000 (22:44 +0000)
commit6f94401ee3b0bfb1d7262fccbd794108fac3aa92
treeab591df32998537eced9ce0d56eb2ccf36424fad
parent772766f5f7d1e3b37f3fc380fb20ea143955ae07
In r21175 (on the mskrb branch, merged in r21690) the result codes for
password quality and other errors were accidentally reversed.  Fix
them so that password quality errors generate a "soft" failure and
other errors generate a "hard" failure, as Heimdal and Microsoft do.
Also recognize KADM5_PASS_Q_GENERIC (added in 1.9) as a password
quality error.

ticket: 6888
target_version: 1.9.1
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24755 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/server/schpw.c