From 5b1cbaf8813bd92d638d5f5d3358200e61f82b51 Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Wed, 16 Aug 1995 07:27:51 +0000 Subject: [PATCH] Pass fds to krb5_lock_file() and krb5_unlock_file() Add a missing #ifdef KRBCONF_KDC_MODIFIES_KDB for update_client and updating the database. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6536 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 5 +++++ src/kdc/do_as_req.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 7469b338b..c1f82bf65 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 16 02:45:19 1995 Chris Provenzano + + * do_as_req.c: Pass fds to krb5_lock_file() and krb5_unlock_file() + * do_as_req.c: Add a missing #ifdef KRBCONF_KDC_MODIFIES_KDB + for update_client and updating the database. Tue Aug 15 14:32:54 EDT 1995 Paul Park (pjpark@mit.edu) * extern.h - Add key/salt list to per-realm data. diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 9abb73cb3..6f3c3d891 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -557,8 +557,10 @@ errout: if (sname) free(sname); if (c_nprincs) { +#ifdef KRBCONF_KDC_MODIFIES_KDB if (update_client) krb5_db_put_principal(kdc_context, &client, &c_nprincs); +#endif /* KRBCONF_KDC_MODIFIES_KDB */ krb5_db_free_principal(kdc_context, &client, c_nprincs); } if (s_nprincs) -- 2.26.2