diff options
author | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-03-12 23:11:48 -0500 |
---|---|---|
committer | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-03-13 01:16:49 -0500 |
commit | a550317253966c6feded683a859f8c50f298be74 (patch) | |
tree | c82768f7b67c17c8570ab201a39e731f09e38f3e /source4/heimdal/kdc/windc_plugin.h | |
parent | 44628c43eefa48a700293fe25b9a65ec76f1c1b2 (diff) | |
download | samba-a550317253966c6feded683a859f8c50f298be74.tar.gz samba-a550317253966c6feded683a859f8c50f298be74.tar.bz2 samba-a550317253966c6feded683a859f8c50f298be74.zip |
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.
(This used to be commit f542362be25e7182a0836de7a0163f6b9fce9408)
Diffstat (limited to 'source4/heimdal/kdc/windc_plugin.h')
-rw-r--r-- | source4/heimdal/kdc/windc_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/kdc/windc_plugin.h b/source4/heimdal/kdc/windc_plugin.h index ec480cf950..3ae0c94681 100644 --- a/source4/heimdal/kdc/windc_plugin.h +++ b/source4/heimdal/kdc/windc_plugin.h @@ -64,7 +64,7 @@ typedef krb5_error_code typedef krb5_error_code (*krb5plugin_windc_client_access)( - void *, krb5_context, struct hdb_entry_ex *, KDC_REQ *); + void *, krb5_context, struct hdb_entry_ex *, KDC_REQ *, krb5_data *); #define KRB5_WINDC_PLUGING_MINOR 2 |