Unlock source cache before executing command
authorSam Hartman <hartmans@mit.edu>
Sat, 10 Aug 1996 09:28:32 +0000 (09:28 +0000)
committerSam Hartman <hartmans@mit.edu>
Sat, 10 Aug 1996 09:28:32 +0000 (09:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8921 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/ChangeLog
src/clients/ksu/main.c

index 6cc775171f20a4c5cff1586e6c13e6df17a550e3..a0ffde80765181b1f1282559ad5d7173284b74d9 100644 (file)
@@ -1,3 +1,7 @@
+Thu Aug  8 12:31:30 1996  Sam Hartman  <hartmans@mit.edu>
+
+       * main.c (main): Close source cache before executing command.
+
 Sat May 25 16:11:55 1996  Sam Hartman  <hartmans@mit.edu>
 
        * configure.in: Use aname db libs.
index 70e895b0cff06a191e1415b5d66e0487c9767146..0b28903ce4f2850a13e48c1999fe5f5b4280f6af 100644 (file)
@@ -809,6 +809,9 @@ krb5_seteuid(0); /*So we have some chance of sweeping up*/
               exit(1);
        }
 
+       if ( cc_source)
+        krb5_cc_close(ksu_context, cc_source);
+
        if (cmd){
                if ((source_uid == 0) || (source_uid == target_uid )){
                        exec_cmd = cmd;