From f1ba68749fc52892c8d07c9932d575d743cf6fae Mon Sep 17 00:00:00 2001 From: Paul Park Date: Thu, 10 Aug 1995 18:53:34 +0000 Subject: [PATCH] Add missing variable when KRBCONF_KDC_MODIFIES_KDB on git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6498 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 4 ++++ src/kdc/do_as_req.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 08726ada3..a6fe4b08a 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,4 +1,8 @@ +Thu Aug 10 14:52:24 EDT 1995 Paul Park (pjpark@mit.edu) + * do_as_req.c - Add missing variable when KRBCONF_KDC_MODIFIES_KDB on. + + Thu Aug 03 12:22:34 1995 Chris Provenzano (proven@mit.edu) * do_as_req.c : Fix bug from new kdb changes. diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index b24161f33..dec2ae06b 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -365,7 +365,11 @@ got_a_key:; client.attributes |= KRB5_KDB_DISALLOW_ALL_TIX; } } - krb5_db_put_principal(kdc_context, &client, &one); + { + int one = 1; + + krb5_db_put_principal(kdc_context, &client, &one); + } #endif krb5_klog_syslog(LOG_INFO, "AS_REQ: PREAUTH FAILED: host %s, %s for %s (%s)", fromstring, cname, sname, error_message(retval)); -- 2.26.2