mirror of
https://github.com/samba-team/samba.git
synced 2025-07-28 11:42:03 +03:00
samba.provision: Add package with provision and backend modules.
This commit is contained in:
@ -2,17 +2,17 @@
|
||||
|
||||
# Unix SMB/CIFS implementation. Tests for SamDB
|
||||
# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
|
||||
#
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
@ -21,9 +21,10 @@ import os
|
||||
import uuid
|
||||
|
||||
from samba.auth import system_session
|
||||
from samba.provision import setup_samdb, guess_names, make_smbconf, find_setup_dir, provision_paths_from_lp
|
||||
from samba.provision import (setup_samdb, guess_names, make_smbconf,
|
||||
find_setup_dir, provision_paths_from_lp)
|
||||
from samba.provision import DEFAULT_POLICY_GUID, DEFAULT_DC_POLICY_GUID
|
||||
from samba.provisionbackend import ProvisionBackend
|
||||
from samba.provision.backend import ProvisionBackend
|
||||
from samba.tests import TestCaseInTempDir
|
||||
from samba.dcerpc import security
|
||||
from samba.schema import Schema
|
||||
@ -32,7 +33,7 @@ from samba import param
|
||||
|
||||
class SamDBTestCase(TestCaseInTempDir):
|
||||
"""Base-class for tests with a Sam Database.
|
||||
|
||||
|
||||
This is used by the Samba SamDB-tests, but e.g. also by the OpenChange
|
||||
provisioning tests (which need a Sam).
|
||||
"""
|
||||
|
Reference in New Issue
Block a user