heimdal: Add parameter to windc_plugin to allow extended return codes.
authorAndrew Kroeger <andrew@sprocks.gotdns.com>
Thu, 13 Mar 2008 04:11:48 +0000 (23:11 -0500)
committerAndrew Kroeger <andrew@sprocks.gotdns.com>
Thu, 13 Mar 2008 06:16:49 +0000 (01:16 -0500)
commitf542362be25e7182a0836de7a0163f6b9fce9408
treed85c2f218eb470ac07db81fa7f4a91b6f6dd37e9
parenta3e1f2830679a56366f0080115de504cdb0144f7
heimdal: Add parameter to windc_plugin to allow extended return codes.

These changes add a krb5_data parameter named e_data to the windc_plugin to
allow the samba KDC to return extended error information in addition to the
standard KRB5KDC_ERR_* codes.  Windows uses the extended information to provide
detailed information in user dialogs (e.g. account disabled, logon hours
restriction, must change password, etc.).

This particular commit modifies only heimdal code.  Hopefully this can be
submitted and accepted into the upstream heimdal codebase.
source/heimdal/kdc/kdc-private.h
source/heimdal/kdc/kerberos5.c
source/heimdal/kdc/windc.c
source/heimdal/kdc/windc_plugin.h