wintest Force krb5.conf for BIND so we use the one generated for this test
authorAndrew Bartlett <abartlet@samba.org>
Mon, 22 Nov 2010 10:21:57 +0000 (21:21 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Nov 2010 06:46:07 +0000 (07:46 +0100)
This avoids needing to set the krb5.conf for the whole host to match
the test environment.

Andrew Bartlett

wintest/test-s4-howto.py

index b925973df1fec4503750baf62e18a5d2bc1169b1..4c47b4613394f887f43f03b9a827fe4c1ad93c09 100755 (executable)
@@ -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'''