summaryrefslogtreecommitdiffstats
path: root/src/kdc/kdc_util.c
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-12-13 20:39:00 +0000
committerTheodore Tso <tytso@mit.edu>1994-12-13 20:39:00 +0000
commit0bc7bb97d787a1438c45f97957abec092618cdf0 (patch)
tree535aaad347012f071c3095e4c7f9e7a590f61ee5 /src/kdc/kdc_util.c
parent8f64320fdbcd0bfa88b70db1962b221ba16899d1 (diff)
downloadkrb5-0bc7bb97d787a1438c45f97957abec092618cdf0.tar.gz
krb5-0bc7bb97d787a1438c45f97957abec092618cdf0.tar.xz
krb5-0bc7bb97d787a1438c45f97957abec092618cdf0.zip
do_tgs_req.c (prepare_error_tgs): Don't free the passed in ticket; it
will be freed as part of other structures. do_tgs_req.c (process_tgs_req): Set the encryption type in the reply structure, and set the eblock type accordingly. do_as_req.c (process_as_req): Set the encryption type in the reply_encpart structure. kdc_util.c (validate_as_request): policy.c (against_local_policy_as): Move requirement that an AS request must include the addresses field to the local policy routine. (Not required by RFC). main.c (setup_com_err): Initialize the kdc5 error table (the kdb5 error table is already initialized) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4730 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/kdc_util.c')
-rw-r--r--src/kdc/kdc_util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c
index 6eef4caceb..e76bb4967d 100644
--- a/src/kdc/kdc_util.c
+++ b/src/kdc/kdc_util.c
@@ -732,12 +732,6 @@ char **status;
return KDC_ERR_BADOPTION;
}
- /* An AS request must include the addresses field */
- if (request->addresses == 0) {
- *status = "NO ADDRESS";
- return KRB_AP_ERR_BADADDR;
- }
-
/* The client's password must not be expired */
if (client.pw_expiration && client.pw_expiration < kdc_time) {
*status = "CLIENT KEY EXPIRED";