Enhance mappings of NTSTATUS to KRB5KDC errors.
authorAndrew Kroeger <andrew@sprocks.gotdns.com>
Thu, 6 Mar 2008 12:08:32 +0000 (06:08 -0600)
committerAndrew Kroeger <andrew@sprocks.gotdns.com>
Fri, 7 Mar 2008 11:59:56 +0000 (05:59 -0600)
commite9171397ecd2ab86ea64363f9a0230fc2104ed02
tree92aad0a0cdf05a466ae1297eafa6ddf1df542aa8
parent20c701400961901e92315b4cd02038fff086e33d
Enhance mappings of NTSTATUS to KRB5KDC errors.

The enhanced mappings allow the Windows client to determine whether a user's
password needs to be changed (and allows them to change it), or if they cannot
logon at all.

Changes still need to be made to allow additional data to be returned.  Windows
uses that additional data to display more detailed dialogs to the user.  The
additional information is returned in an e-data struct of type PA-PW-SALT that
contains the more-detailed NTSTATUS error code.
(This used to be commit 6a98e5a7aa0cdbb61358901df50162b5b914ee5c)
source4/kdc/pac-glue.c