3 # Unix SMB/CIFS implementation.
4 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 from samba.provision import setup_secretsdb
27 class ProvisionTestCase(samba.tests.TestCaseInTempDir):
28 def test_setup_secretsdb(self):
29 ldb = setup_secretsdb(os.path.join(self.tempdir, "secrets.ldb"),
30 setup_dir, None, None, None)
31 self.assertEquals("LSA Secrets",
32 ldb.searchone(Dn(ldb, "CN=LSA Secrets"), "CN"))
36 def test_setup_templatesdb(self):
37 raise NotImplementedError(self.test_setup_templatesdb)
39 def test_setup_registry(self):
40 raise NotImplementedError(self.test_setup_registry)
42 def test_setup_samdb_rootdse(self):
43 raise NotImplementedError(self.test_setup_samdb_rootdse)
45 def test_setup_samdb_partitions(self):
46 raise NotImplementedError(self.test_setup_samdb_partitions)
48 def test_create_phpldapadmin_config(self):
49 raise NotImplementedError(self.test_create_phpldapadmin_config)
51 def test_provision_dns(self):
52 raise NotImplementedError(self.test_provision_dns)
54 def test_provision_ldapbase(self):
55 raise NotImplementedError(self.test_provision_ldapbase)
57 def test_provision_guess(self):
58 raise NotImplementedError(self.test_provision_guess)
60 def test_join_domain(self):
61 raise NotImplementedError(self.test_join_domain)
63 def test_vampire(self):
64 raise NotImplementedError(self.test_vampire)
66 def test_erase_partitions(self):
67 raise NotImplementedError(self.test_erase_partitions)