Add missing variable when KRBCONF_KDC_MODIFIES_KDB on
authorPaul Park <pjpark@mit.edu>
Thu, 10 Aug 1995 18:53:34 +0000 (18:53 +0000)
committerPaul Park <pjpark@mit.edu>
Thu, 10 Aug 1995 18:53:34 +0000 (18:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6498 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/do_as_req.c

index 08726ada3b3b8c4c32fb53f8354ea8d1bb213804..a6fe4b08a0a83ff7a957054a3c8e727be8bb6d0b 100644 (file)
@@ -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.
index b24161f334f9f85d7c06060fa164f18848a3479e..dec2ae06b21e1549b94039d72524028c06740332 100644 (file)
@@ -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));