From 113621d96dbd2e558146e0cc4db4ce0c2067fd58 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 29 Jul 2009 09:07:49 +1000 Subject: s4:provision We no longer add krbtgt or kpasswd account into secrets.ldb --- source4/scripting/python/samba/tests/provision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/scripting/python/samba/tests/provision.py b/source4/scripting/python/samba/tests/provision.py index fdac9d4ea2..7a259f71e3 100644 --- a/source4/scripting/python/samba/tests/provision.py +++ b/source4/scripting/python/samba/tests/provision.py @@ -54,7 +54,7 @@ class ProvisionTestCase(samba.tests.TestCaseInTempDir): samdb_url="ldap://url/", dns_keytab_path="dns.keytab", dnspass="bla", machinepass="machinepass", dnsdomain="example.com") - self.assertEquals(1, + self.assertEquals(0, len(secrets_ldb.search("samAccountName=krbtgt,flatname=EXAMPLE,CN=Principals"))) self.assertEquals("keytab.path", secrets_ldb.searchone(basedn="flatname=EXAMPLE,CN=primary domains", -- cgit