summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-07 23:47:18 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-07 23:47:18 +0100
commit51da6908df8166ee2bcd5783e0ea3116c409f928 (patch)
tree930952d4e4dba4d73e078c3e9e9a780db0376ce1
parent8c4e52547bbcf8b334c0a1ba65191c8258e00132 (diff)
downloadsamba-51da6908df8166ee2bcd5783e0ea3116c409f928.tar.gz
samba-51da6908df8166ee2bcd5783e0ea3116c409f928.tar.bz2
samba-51da6908df8166ee2bcd5783e0ea3116c409f928.zip
Override KRB5CCNAME so existing Kerberos tickets in the users environment don't get overwritten.
(This used to be commit 5e740c0dfbda9a6b2f47d953eb27a1fbfcff78b3)
-rwxr-xr-xsource4/selftest/selftest.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl
index 004332a1fc..aab2ca8f07 100755
--- a/source4/selftest/selftest.pl
+++ b/source4/selftest/selftest.pl
@@ -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;
+$ENV{KRB5CCNAME} = "$prefix/krb5ticket";
$ENV{PREFIX_ABS} = $prefix_abs;
$ENV{SRCDIR} = $srcdir;
$ENV{SRCDIR_ABS} = $srcdir_abs;