Override KRB5CCNAME so existing Kerberos tickets in the users environment don't get...
authorJelmer Vernooij <jelmer@samba.org>
Thu, 7 Feb 2008 22:47:18 +0000 (23:47 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 7 Feb 2008 22:47:18 +0000 (23:47 +0100)
source/selftest/selftest.pl

index 004332a1fc0b131fd3fdc9bc8c6430e85274f399..aab2ca8f07f0422ccb8f45f653cd797b25bb80b3 100755 (executable)
@@ -382,6 +382,7 @@ die("using an empty absolute prefix isn't allowed") unless $prefix_abs ne "";
 die("using '/' as absolute prefix isn't allowed") unless $prefix_abs ne "/";
 
 $ENV{PREFIX} = $prefix;
 die("using '/' as absolute prefix isn't allowed") unless $prefix_abs ne "/";
 
 $ENV{PREFIX} = $prefix;
+$ENV{KRB5CCNAME} = "$prefix/krb5ticket";
 $ENV{PREFIX_ABS} = $prefix_abs;
 $ENV{SRCDIR} = $srcdir;
 $ENV{SRCDIR_ABS} = $srcdir_abs;
 $ENV{PREFIX_ABS} = $prefix_abs;
 $ENV{SRCDIR} = $srcdir;
 $ENV{SRCDIR_ABS} = $srcdir_abs;