summaryrefslogtreecommitdiff
path: root/source4/heimdal/kdc/kerberos5.c
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@sprocks.gotdns.com>2008-03-12 23:11:48 -0500
committerAndrew Kroeger <andrew@sprocks.gotdns.com>2008-03-13 01:16:49 -0500
commita550317253966c6feded683a859f8c50f298be74 (patch)
treec82768f7b67c17c8570ab201a39e731f09e38f3e /source4/heimdal/kdc/kerberos5.c
parent44628c43eefa48a700293fe25b9a65ec76f1c1b2 (diff)
downloadsamba-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/kerberos5.c')
-rw-r--r--source4/heimdal/kdc/kerberos5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/kdc/kerberos5.c b/source4/heimdal/kdc/kerberos5.c
index 40a9c9c972..23ca5a035e 100644
--- a/source4/heimdal/kdc/kerberos5.c
+++ b/source4/heimdal/kdc/kerberos5.c
@@ -1043,7 +1043,7 @@ _kdc_as_rep(krb5_context context,
goto out;
}
- ret = _kdc_windc_client_access(context, client, req);
+ ret = _kdc_windc_client_access(context, client, req, &e_data);
if(ret)
goto out;