summaryrefslogtreecommitdiff
path: root/wintest/test-s4-howto.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-11-22 21:21:57 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-11-23 07:46:07 +0100
commitc251c45e7f97128e1066d788ad7fe254f2b64474 (patch)
tree48bb50f67bff1fde8dd30633161b8be5f7d91748 /wintest/test-s4-howto.py
parent568a2377cca8b833fe4e2d0d4075399b98acc7d5 (diff)
downloadsamba-c251c45e7f97128e1066d788ad7fe254f2b64474.tar.gz
samba-c251c45e7f97128e1066d788ad7fe254f2b64474.tar.bz2
samba-c251c45e7f97128e1066d788ad7fe254f2b64474.zip
wintest Force krb5.conf for BIND so we use the one generated for this test
This avoids needing to set the krb5.conf for the whole host to match the test environment. Andrew Bartlett
Diffstat (limited to 'wintest/test-s4-howto.py')
-rwxr-xr-xwintest/test-s4-howto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index b925973df1..4c47b46133 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -12,7 +12,7 @@ def check_prerequesites(t):
if os.getuid() != 0:
raise Exception("You must run this script as root")
t.cmd_contains("grep 127.0.0.1 /etc/resolv.conf", ["nameserver 127.0.0.1"])
-
+ t.putenv("KRB5_CONFIG", '${PREFIX}/private/krb5.conf')
def build_s4(t):
'''build samba4'''